mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
58f3a2e343
PR: 20657 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
34 lines
815 B
Plaintext
34 lines
815 B
Plaintext
--- Makefile.orig Tue Aug 15 08:44:37 2000
|
|
+++ Makefile Fri Aug 18 09:06:02 2000
|
|
@@ -1,24 +1,24 @@
|
|
|
|
.SUFFIXES:
|
|
|
|
-OPT = -s -Wall
|
|
+OPT = $(CFLAGS) -I$(X11BASE)/include
|
|
|
|
all: abclock abc_img
|
|
|
|
abclock: abclock.o abclib.o
|
|
- gcc $(OPT) -o abclock abclock.o abclib.o -lX11
|
|
+ $(CC) $(OPT) -o abclock abclock.o abclib.o -lX11 -L$(X11BASE)/lib
|
|
|
|
abc_img: abc_img.o abclib.o
|
|
- gcc $(OPT) -o abc_img abc_img.o abclib.o
|
|
+ $(CC) $(OPT) -o abc_img abc_img.o abclib.o
|
|
|
|
abclib.o: abclib.c abclib.h
|
|
- gcc -c $(OPT) -o abclib.o abclib.c
|
|
+ $(CC) -c $(OPT) -o abclib.o abclib.c
|
|
|
|
abclock.o: abclock.c abclib.h
|
|
- gcc -c $(OPT) -o abclock.o abclock.c
|
|
+ $(CC) -c $(OPT) -o abclock.o abclock.c
|
|
|
|
abc_img.o: abc_img.c abclib.h
|
|
- gcc -c $(OPT) -o abc_img.o abc_img.c
|
|
+ $(CC) -c $(OPT) -o abc_img.o abc_img.c
|
|
|
|
clean:
|
|
rm -f *.o
|