X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=Makefile;h=3a087a0d9fbdcfa98906c98d6a253d19a3fcd227;hp=bc7c6ad194d7680ff966a78dc110bfda589c5e7b;hb=dc484193a838e27acd32e1cee57313da99fd5786;hpb=2bea0659b8edff14f1554d2540780f54ccdc21c9 diff --git a/Makefile b/Makefile index bc7c6ad..3a087a0 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ debug := $(if $(DEBUG),1,0) ldflags := $(shell sdl-config --libs) -lSDL_image -lSDL_mixer -cflags := $(shell sdl-config --cflags) -Wall -DDEBUG=$(debug) -ggdb +cflags := $(shell sdl-config --cflags) -Wall -DDEBUG=$(debug) my_objects := file.o score.o shape.o sound.o main.o $(if $(DEBUG),debug.o) libs := SFont.o @@ -51,13 +51,10 @@ main.o file.o: file.h vor: $(objects) $(CC) $(ldflags) -o $@ $^ $(LIBRARIES) -pnmoutline: pnmoutline.c - $(CC) -lnetpbm -o $@ $< - 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