uninitialized variable in logger
[dosdemo] / GNUmakefile
index ee7a35e..3608ddf 100644 (file)
@@ -27,7 +27,7 @@ endif
 
 sys ?= $(shell uname -s | sed 's/MINGW.*/mingw/; s/IRIX.*/IRIX/')
 ifeq ($(sys), mingw)
-       obj = $(src:.c=.w32.o)
+       obj = $(src:.c=.w32.o) $(asmsrc:.asm=.w32.o)
 
        bin = demo_win32.exe
 
@@ -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 $<