summaryrefslogtreecommitdiff
path: root/misc/geekcode/files/patch-aa
blob: 13959a1de0cd32c82c856c9e5f7d3e7abed3f17a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- Makefile.orig	Mon Sep 13 14:03:56 1999
+++ Makefile	Sat Sep 18 12:42:20 1999
@@ -1,6 +1,6 @@
-CFLAGS=-O3 -s
+CFLAGS?=-O3 -s
 TARGET=geekcode
-CC=gcc
+CC?=gcc
 
 SRCFILES = gc_appearance.c    \
            gc_computers.c     \
@@ -26,15 +26,15 @@
 	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 gc_consoleio.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 gc_consoleio.c
+	${CC} $(CFLAGS) -c geekcode.c
+	${CC} $(CFLAGS) -o $(TARGET) $(LIBFILES)
 
 install:
 	install -m 755 geekcode /usr/local/bin