summaryrefslogtreecommitdiff
blob: 1b71f1cf1838e9dc135bc74fc589d7b1bae821d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.old	2009-01-30 16:04:16.000000000 +0100
+++ Makefile	2009-01-30 16:07:04.000000000 +0100
@@ -1,9 +1,7 @@
 # This file is part of Alienwave, a game by Alessandro Pira
 
-CC = gcc
 OBJS = main.o blit.o aliens.o xzarna.o fire.o shield.o levels.o util.o
 # CFLAGS = -c -O2 -Wall -DDEBUG_LEV
-CFLAGS = -c -O2 -Wall
 LIB = -lncurses
 
 # Uncomment this if you want random waves
@@ -16,8 +14,7 @@
 
 
 alienwave: $(OBJS)
-	$(CC) $(LIB) $(OBJS) -o alienwave
-	strip alienwave
+	$(CC) $(OBJS) $(LDFLAGS) $(LIB) -o alienwave
 
 main.o: main.c