summaryrefslogtreecommitdiff
path: root/makefiles/nmake/compiler.mk
diff options
context:
space:
mode:
Diffstat (limited to 'makefiles/nmake/compiler.mk')
-rw-r--r--makefiles/nmake/compiler.mk3
1 files changed, 2 insertions, 1 deletions
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) $<