diff options
Diffstat (limited to 'externals/grill/flext/buildsys/win')
-rw-r--r-- | externals/grill/flext/buildsys/win/nmake-msvc-ext.inc | 5 | ||||
-rw-r--r-- | externals/grill/flext/buildsys/win/nmake-msvc-flext.inc | 18 |
2 files changed, 8 insertions, 15 deletions
diff --git a/externals/grill/flext/buildsys/win/nmake-msvc-ext.inc b/externals/grill/flext/buildsys/win/nmake-msvc-ext.inc index 419c3276..2a86155a 100644 --- a/externals/grill/flext/buildsys/win/nmake-msvc-ext.inc +++ b/externals/grill/flext/buildsys/win/nmake-msvc-ext.inc @@ -37,8 +37,7 @@ _clean_: ############################################## -$(INSTPATH): - if not exist $@ mkdir $@ > nul +_install_: + @if not exist $(INSTPATH) mkdir $(INSTPATH) > nul -_install_: $(INSTPATH) copy $(TARGET) $(INSTPATH) > nul diff --git a/externals/grill/flext/buildsys/win/nmake-msvc-flext.inc b/externals/grill/flext/buildsys/win/nmake-msvc-flext.inc index 389533de..36a72f4d 100644 --- a/externals/grill/flext/buildsys/win/nmake-msvc-flext.inc +++ b/externals/grill/flext/buildsys/win/nmake-msvc-flext.inc @@ -44,22 +44,16 @@ FLEXTLIBINST=$(FLEXTSHLIB) FLEXTLIBINST=$(FLEXTLIB) !endif -$(FLEXTINC): - if not exist $@ mkdir $@ > nul - -$(FLEXTLIB): - if not exist $@ mkdir $@ > nul - -$(FLEXTLIBINST): - if not exist $@ mkdir $@ > nul - -_install_:: $(FLEXTINC) $(FLEXTLIB) $(FLEXTLIBINST) +_install_: +# create folders + @if not exist $(FLEXTINC) mkdir $(FLEXTINC) > nul + @if not exist $(FLEXTLIB) mkdir $(FLEXTLIB) > nul + @if not exist $(FLEXTLIBINST) mkdir $(FLEXTLIBINST) > nul -_install_:: copy $(TARGET) $(FLEXTLIBINST) > nul !ifdef SHARED # copy import library copy $(TARGET:.dll=.lib) $(FLEXTLIB) > nul !endif # copy headers - for %%i in ($(HDRS)) do @copy $(SRCDIR)\%%i $(FLEXTINC) > nul + for %%i in ($(HDRS)) do @copy $(SRCDIR)\%%i $(FLEXTINC) > nul |