/[anoncvs]/projects/roguelike/Makefile


UCC Code Repository

Contents of /projects/roguelike/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Sat Apr 15 16:42:13 2006 UTC (15 years ago) by banana
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +5 -2 lines
Ghetto

1 EXECUTABLE = warlike
2 OBJECTS = main.o core.o DataFile.o Entity.o Terrain.o World.o \
3 View.o Character.o Player.o NPC.o fov.o
4 SOURCES = curses/main-curses.cpp core.cpp DataFile.cpp Entity.cpp Terrain.cpp World.cpp \
5 View.cpp Character.cpp Player.cpp NPC.cpp fov.c
6
7 CC = g++
8 CFLAGS = -lncurses -Wall
9 DEBUGFLAGS = -g
10 COMPILE = ${CC} ${CFLAGS}
11
12 all: ${OBJECTS}
13 ${COMPILE} -o ${EXECUTABLE} ${OBJECTS}
14
15 clean:
16 rm ${OBJECTS} ${EXECUTABLE}
17
18 debug:
19 ${CC} ${CFLAGS} ${DEBUGFLAGS} -o ${EXECUTABLE} ${SOURCES}
20
21 main.o: curses/main-curses.cpp
22 ${CC} ${CFLAGS} -c -o main.o curses/main-curses.cpp

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26