visual studio project tweaks

This commit is contained in:
nhmall
2025-11-18 13:44:55 -05:00
parent b1cffe11f9
commit a9d11db853
8 changed files with 162 additions and 115 deletions

View File

@@ -33,7 +33,7 @@ SUBMDIR=$(ROOTDIR)\$(SUBMSDIR)
default: fetchall
fetchall: libdir fetch-Lua fetch-pdcurses ..\..\..\..\include\nhlua.h
fetchall: libdir fetch-Lua fetch-pdcurses
fetch-lua: fetch-actual-Lua
@@ -56,14 +56,6 @@ fetch-pdcurses:
cd ..\sys\windows\vs\fetchprereq
@echo $(PDCDIST) has been fetched into $(LIBDIR)\$(PDCDIST)
..\..\..\..\include\nhlua.h:
@echo /* nhlua.h - generated by Makefile from fetchprereq.nmake */ > $@
@echo #include "lua.h" >> $@
@echo ATTRNORETURN LUA_API int (lua_error) (lua_State *L) NORETURN; >> $@
@echo #include "lualib.h" >> $@
@echo #include "lauxlib.h" >> $@
@echo /*nhlua.h*/ >> $@
libdir:
@if not exist $(LIBDIR)\*.* echo creating directory $(LIB:\=/)
@if not exist $(LIBDIR)\*.* mkdir $(LIBDIR)