blob: 7e27d1fb9caccfc50fddc1429015b648abb97f6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- Makefile.old 2009-02-02 12:40:36.000000000 +0100
+++ Makefile 2009-02-02 12:41:22.000000000 +0100
@@ -1,19 +1,14 @@
-CC = gcc -Wall -g
-
SRCS = player.c main.c loadMap.c cmdline.c ncdrawlib.c scoring.c
OBJS = $(SRCS:.c=.o)
-LIBS = -lncurses
+LDLIBS = -lncurses
INSTALL=/usr/bin/install -c
INSTALL_FOLDER=/usr/games
all: nibbles
-.c.o:
- $(CC) -c $*.c -o $*.o
-
nibbles: $(OBJS)
- $(CC) $(LIBS) $(OBJS) -o $@
+ $(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
clean:
rm -f *~ *.o nibbles
|