summaryrefslogtreecommitdiff
blob: 87d436ca57dbe0f876f9670bab9e9f2d892a3b0d (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
+++ Makefile
@@ -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