1999-09-18 19:45:11 +00:00
|
|
|
--- Makefile.orig Mon Sep 13 14:03:56 1999
|
|
|
|
+++ Makefile Sat Sep 18 12:42:20 1999
|
1999-08-30 07:48:45 +00:00
|
|
|
@@ -1,6 +1,6 @@
|
1999-09-04 19:48:00 +00:00
|
|
|
-CFLAGS=-O3 -s
|
1999-09-18 19:45:11 +00:00
|
|
|
+CFLAGS?=-O3 -s
|
1999-08-30 07:48:45 +00:00
|
|
|
TARGET=geekcode
|
|
|
|
-CC=gcc
|
|
|
|
+CC?=gcc
|
|
|
|
|
|
|
|
SRCFILES = gc_appearance.c \
|
|
|
|
gc_computers.c \
|
1999-09-18 19:45:11 +00:00
|
|
|
@@ -26,15 +26,15 @@
|
1999-08-30 07:48:45 +00:00
|
|
|
rm -f $(TARGET) $(LIBFILES)
|
|
|
|
|
|
|
|
geekcode:
|
|
|
|
- gcc $(CFLAGS) -c gc_appearance.c
|
|
|
|
- gcc $(CFLAGS) -c gc_computers.c
|
|
|
|
- gcc $(CFLAGS) -c gc_entertainment.c
|
|
|
|
- gcc $(CFLAGS) -c gc_lifestyle.c
|
|
|
|
- gcc $(CFLAGS) -c gc_politics.c
|
|
|
|
- gcc $(CFLAGS) -c gc_type.c
|
1999-09-18 19:45:11 +00:00
|
|
|
- gcc $(CFLAGS) -c gc_consoleio.c
|
1999-08-30 07:48:45 +00:00
|
|
|
- gcc $(CFLAGS) -c geekcode.c
|
|
|
|
- gcc $(CFLAGS) -o $(TARGET) $(LIBFILES)
|
|
|
|
+ ${CC} $(CFLAGS) -c gc_appearance.c
|
|
|
|
+ ${CC} $(CFLAGS) -c gc_computers.c
|
|
|
|
+ ${CC} $(CFLAGS) -c gc_entertainment.c
|
|
|
|
+ ${CC} $(CFLAGS) -c gc_lifestyle.c
|
|
|
|
+ ${CC} $(CFLAGS) -c gc_politics.c
|
|
|
|
+ ${CC} $(CFLAGS) -c gc_type.c
|
1999-09-18 19:45:11 +00:00
|
|
|
+ ${CC} $(CFLAGS) -c gc_consoleio.c
|
1999-08-30 07:48:45 +00:00
|
|
|
+ ${CC} $(CFLAGS) -c geekcode.c
|
|
|
|
+ ${CC} $(CFLAGS) -o $(TARGET) $(LIBFILES)
|
|
|
|
|
|
|
|
install:
|
|
|
|
install -m 755 geekcode /usr/local/bin
|