X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=GNUmakefile;h=511b0ad3c428e293753f8f959b289110d7261bba;hp=d0eec5349f9e5fe81c22d3e2b22636b7cbe57990;hb=c912e59b898fe1ac461a1468e4a2e1937de286d7;hpb=815504923a05c5f22a756b021997983e512474e1 diff --git a/GNUmakefile b/GNUmakefile index d0eec53..511b0ad 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -3,7 +3,7 @@ obj = $(src:.c=.o) $(asmsrc:.asm=.o) dep = $(obj:.o=.d) bin = demo -asmsrc += font.asm +asmsrc += cspr/dbgfont.asm cspr/confont.asm inc = -I/usr/local/include -Isrc -Isrc/scr -Isrc/sdl -Ilibs -Ilibs/imago/src -Ilibs/mikmod/include warn = -pedantic -Wall -Wno-unused-variable -Wno-unused-function @@ -18,6 +18,9 @@ else sdl_ldflags = `sdl-config --libs` endif +.PHONY: all +all: data $(bin) + $(bin): $(obj) imago mikmod $(CC) -o $@ $(obj) $(LDFLAGS) @@ -51,8 +54,6 @@ clean: cleandep: rm -f $(dep) -tools/csprite/csprite: - $(MAKE) -C tools/csprite - -font.asm: data/legible.fnt tools/csprite/csprite - tools/csprite/csprite -n cs_font -s 8x16 -conv565 -nasm $< >$@ +.PHONY: data +data: + @tools/procdata