]> gitweb.factorcode.org Git - factor.git/blobdiff - Nmakefile
update Nmakefile to properly delete vm\factor.res.
[factor.git] / Nmakefile
index eeb13bf952f62afec9d6abc00217da28d4662661..160ec7a3350a9098f5f40d57ac0268d7d7007b0e 100644 (file)
--- a/Nmakefile
+++ b/Nmakefile
@@ -8,7 +8,7 @@ GIT_LABEL = git-label-missing
 
 !IF DEFINED(PLATFORM)
 
-LINK_FLAGS = /nologo shell32.lib
+LINK_FLAGS = /nologo shell32.lib user32.lib
 CL_FLAGS = /nologo /O2 /WX /W3 /D_CRT_SECURE_NO_WARNINGS /DFACTOR_VERSION=$(VERSION) /DFACTOR_GIT_LABEL=$(GIT_LABEL)
 CL_FLAGS_VISTA = /D_WIN32_WINNT=0x0600
 
@@ -67,7 +67,6 @@ DLL_OBJS = $(PLAF_DLL_OBJS) \
        vm\entry_points.obj \
        vm\errors.obj \
        vm\factor.obj \
-       vm\free_list.obj \
        vm\full_collector.obj \
        vm\gc.obj \
        vm\image.obj \
@@ -144,8 +143,8 @@ x86-64-vista:
 
 clean:
        del vm\*.obj
+       if exist vm\factor.res del vm\factor.res
        if exist factor.lib del factor.lib
-       if exist factor.res del factor.res
        if exist factor.com del factor.com
        if exist factor.exe del factor.exe
        if exist factor.dll del factor.dll