X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=GNUmakefile;h=8b0f6fb2f264eaa865023950bf59c95ec3b222ce;hp=834db7b7c6fafc64dc746e83ab10f395e36e99c0;hb=refs%2Fheads%2Fmaster;hpb=3f4019dfbeea0b5e3b0bc657f1bad6bc2b53dd42 diff --git a/GNUmakefile b/GNUmakefile index 834db7b..767026f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -8,7 +8,7 @@ bin = demo asmsrc += cspr/dbgfont.asm cspr/confont.asm bindata = data/loading.img -inc = -I/usr/local/include -Isrc -Isrc/3dgfx -Isrc/scr -Isrc/glut -Ilibs \ +inc = -I/usr/local/include -Isrc -Isrc/3dgfx -Isrc/scr -Isrc/utils -Isrc/glut -Ilibs \ -Ilibs/imago/src -Ilibs/mikmod/include def = -DMINIGLUT_USE_LIBC -DMIKMOD_STATIC warn = -pedantic -Wall -Wno-unused-variable -Wno-unused-function -Wno-address @@ -52,6 +52,9 @@ $(bin): $(obj) imago mikmod %.o: %.asm nasm -f elf -o $@ $< +%.w32.o: %.asm + nasm -f coff -o $@ $< + %.w32.o: %.c $(CC) -o $@ $(CFLAGS) -c $<