summaryrefslogtreecommitdiff
path: root/makefiles/nmake
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-02-26 16:42:00 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-02-26 16:42:00 +0100
commit1be3647260a644118e94908eaf2dd64810842c5b (patch)
tree17be5c64ab4057ae8c17d50c93d1999211fe606d /makefiles/nmake
parentbc3e79ea24a0fb7fda6f54a6f72e3a46943b1cec (diff)
downloadwolfbones-1be3647260a644118e94908eaf2dd64810842c5b.tar.gz
wolfbones-1be3647260a644118e94908eaf2dd64810842c5b.tar.bz2
first walks on Windows, log.c and porting layer compile
Diffstat (limited to 'makefiles/nmake')
-rw-r--r--makefiles/nmake/clean.mk1
-rw-r--r--makefiles/nmake/compiler.mk3
2 files changed, 3 insertions, 1 deletions
diff --git a/makefiles/nmake/clean.mk b/makefiles/nmake/clean.mk
index 4c25f90..19cc006 100644
--- a/makefiles/nmake/clean.mk
+++ b/makefiles/nmake/clean.mk
@@ -32,6 +32,7 @@ clean:
-@erase *.exe
-@erase *.exe.manifest
-@erase *.obj
+ -@erase $(OBJS)
-@erase *.pdb
#.PHONY: distclean_recursive distclean local_distclean
diff --git a/makefiles/nmake/compiler.mk b/makefiles/nmake/compiler.mk
index a351041..22e30a5 100644
--- a/makefiles/nmake/compiler.mk
+++ b/makefiles/nmake/compiler.mk
@@ -7,6 +7,7 @@
# - BIN_OBJS: the object files we need for the binaries (containing the main)
#
+# TODO: which flags to enable?
# /EHsc: enable C++ exception handling
# compilation flags and compilers
@@ -29,7 +30,7 @@ CCPP_LINK = link.exe
.SUFFIXES: .c .cpp .obj .exe
.c.obj:
- $(CC) $(CFLAGS) $<
+ $(CC) $(CFLAGS) /Fo$@ $<
.cpp.obj:
$(CCPP) $(CCPPFLAGS) $<