Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed pnmoutline (no longer necessary).
[vor.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
31c4214
..
98fff2e
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-17,7
+17,7
@@
debug := $(if $(DEBUG),1,0)
ldflags := $(shell sdl-config --libs) -lSDL_image -lSDL_mixer
debug := $(if $(DEBUG),1,0)
ldflags := $(shell sdl-config --libs) -lSDL_image -lSDL_mixer
-cflags := $(shell sdl-config --cflags) -Wall -DDEBUG=$(debug)
+cflags := $(shell sdl-config --cflags) -Wall -DDEBUG=$(debug) -ggdb
my_objects := file.o score.o shape.o sound.o main.o $(if $(DEBUG),debug.o)
libs := SFont.o
my_objects := file.o score.o shape.o sound.o main.o $(if $(DEBUG),debug.o)
libs := SFont.o
@@
-29,7
+29,7
@@
rocks += 20 21 22 23 24 25 26 27 28 29
rocks += 30 31 32 33 34 35 36 37 38 39
rocks += 40 41 42 43 44 45 46 47 48 49
rocks += 30 31 32 33 34 35 36 37 38 39
rocks += 40 41 42 43 44 45 46 47 48 49
-graphics := data/sprites/ship.png $(rocks:%=data/sprites/rock%.png)
+graphics := data/sprites/ship.png data/indicators/life.png $(rocks:%=data/sprites/rock%.png)
INSTALL = install
INSTALL_PROGRAM = $(INSTALL) -o games -g games
INSTALL = install
INSTALL_PROGRAM = $(INSTALL) -o games -g games
@@
-51,13
+51,10
@@
main.o file.o: file.h
vor: $(objects)
$(CC) $(ldflags) -o $@ $^ $(LIBRARIES)
vor: $(objects)
$(CC) $(ldflags) -o $@ $^ $(LIBRARIES)
-pnmoutline: pnmoutline.c
- $(CC) -lnetpbm -o $@ $<
-
include gfx.mk
clean:
include gfx.mk
clean:
- rm -f *.o vor pnmoutline $(graphics)
+ rm -f *.o vor $(graphics)
install: all
if [ ! -d $(DATA_PREFIX) ]; then mkdir $(DATA_PREFIX); fi
install: all
if [ ! -d $(DATA_PREFIX) ]; then mkdir $(DATA_PREFIX); fi