1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/misc/geekcode/files/patch-aa
1999-09-04 19:48:00 +00:00

35 lines
916 B
Plaintext

--- Makefile.orig Mon Aug 30 15:33:00 1999
+++ Makefile Thu Sep 2 18:42:00 1999
@@ -1,6 +1,6 @@
-CFLAGS=-O3 -s
+CFLAGS?=-O3 -Wall -s
TARGET=geekcode
-CC=gcc
+CC?=gcc
SRCFILES = gc_appearance.c \
gc_computers.c \
@@ -24,14 +24,14 @@
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
- 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
+ ${CC} $(CFLAGS) -c geekcode.c
+ ${CC} $(CFLAGS) -o $(TARGET) $(LIBFILES)
install:
install -m 755 geekcode /usr/local/bin