X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=Makefile;h=01499e215553b8cadc7e7d6fbecb9165a581508a;hp=994cd8b8ee55fcf6c419d976130b7338b5faeb09;hb=1aa8a0df26ef582dee4ffe3aa2f17f1f1a42b3c9;hpb=9ffdd66ad5f2c29a2125bbd458a700625f178065 diff --git a/Makefile b/Makefile index 994cd8b..01499e2 100644 --- a/Makefile +++ b/Makefile @@ -21,16 +21,15 @@ PROGRAM_PREFIX := /usr/games/bin CFLAGS := -Wall LDFLAGS := -debug := $(if $(DEBUG),-DDEBUG=1) paths := -DDATA_PREFIX=\"$(DATA_PREFIX)\" sdl-cflags := $(shell sdl-config --cflags) sdl-ldflags := $(shell sdl-config --libs) ldflags := $(sdl-ldflags) -lSDL_image -lSDL_mixer $(LDFLAGS) -cflags := $(sdl-cflags) $(debug) $(paths) $(CFLAGS) +cflags := $(sdl-cflags) $(paths) $(CFLAGS) my_objects := args.o dust.o file.o mt.o rocks.o score.o shape.o sound.o -my_objects += $(if $(DEBUG),debug.o) main.o +my_objects += main.o libs := SFont.o objects := $(libs) $(my_objects)