diff makefile.mingw @ 1839:22225eb286e5

Fixes for building with MINGW64 (specifically http://tdm-gcc.tdragon.net/). Currently a few things are missing, themes and HTML rendering but it builds in both 32bit and 64bit mode. There are also warnings generated by gcc every time the source calls a Windows API macro. (unused result warning).
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 19 Nov 2012 19:52:36 +0000
parents a76fb5f1a6c8
children 123d1a900f54
line wrap: on
line diff
--- a/makefile.mingw	Fri Nov 16 21:18:20 2012 +0000
+++ b/makefile.mingw	Mon Nov 19 19:52:36 2012 +0000
@@ -5,6 +5,7 @@
 # make -C MingW32-gcc-3.4.0-RELEASE -f ../makefile.mingw > MingW32-gcc-3.4.0-RELEASE/make-out.log 2>&1
 
 CC = gcc
+RM = del /f
 
 DEFS =
 LIBS =
@@ -30,6 +31,9 @@
 dwtest.exe: dwtest.o dw.a dwcompat.a
 	$(CC) $(CFLAGS) -o dwtest.exe dwtest.o dw.a dwcompat.a
 
+clean:
+	$(RM) *.obj *.o *.lib *.res *~ dwtest.exe dw.dll dwcompat.dll SVN.REV
+
 dw.o: win/dw.c
 	$(CC) $(CFLAGS) -DBUILD_DLL -c $<