1999-08-14 03:52:28 +00:00
|
|
|
--- Makefile.orig Fri Aug 13 20:42:49 1999
|
|
|
|
+++ Makefile Fri Aug 13 20:43:18 1999
|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-CC = gcc -Wall -O6 -g
|
|
|
|
+#CC = gcc -Wall -O6 -g
|
|
|
|
|
|
|
|
SRCS = main.c levels.c grid.c player.c touching.c gtkstuff.c plot.c graphics.c
|
|
|
|
OBJS = $(SRCS:.c=.o)
|
|
|
|
@@ -7,10 +7,10 @@
|
|
|
|
all: hex
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
- $(CC) `gtk-config --cflags` -c $*.c -o $*.o
|
2000-07-07 19:59:26 +00:00
|
|
|
+ $(CC) $(CFLAGS) `$(GTK_CONFIG) --cflags` -c $*.c -o $*.o
|
1999-08-14 03:52:28 +00:00
|
|
|
|
|
|
|
hex: $(OBJS)
|
|
|
|
- $(CC) $(LIBS) `gtk-config --libs` $(OBJS) -o $@
|
2000-07-07 19:59:26 +00:00
|
|
|
+ $(CC) $(LIBS) `$(GTK_CONFIG) --libs` $(OBJS) -o $@
|
1999-08-14 03:52:28 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ *.o hex
|