Use LUASRC variable when generating nhlua.h.
This commit is contained in:
@@ -833,10 +833,10 @@ $(O)utility.tag: $(INCL)/date.h $(INCL)/onames.h $(INCL)/pm.h \
|
|||||||
|
|
||||||
$(INCL)/nhlua.h:
|
$(INCL)/nhlua.h:
|
||||||
echo /* nhlua.h - generated by top Makefile */ > $@
|
echo /* nhlua.h - generated by top Makefile */ > $@
|
||||||
@echo #include "../lib/lua-$(LUA_VERSION)/src/lua.h" >> $@
|
@echo #include "$(LUASRC)/lua.h" >> $@
|
||||||
@echo LUA_API int (lua_error) (lua_State *L) NORETURN; >>$@
|
@echo LUA_API int (lua_error) (lua_State *L) NORETURN; >>$@
|
||||||
@echo #include "../lib/lua-$(LUA_VERSION)/src/lualib.h" >> $@
|
@echo #include "$(LUASRC)/lualib.h" >> $@
|
||||||
@echo #include "../lib/lua-$(LUA_VERSION)/src/lauxlib.h" >> $@
|
@echo #include "$(LUASRC)/lauxlib.h" >> $@
|
||||||
@echo /*nhlua.h*/ >> $@
|
@echo /*nhlua.h*/ >> $@
|
||||||
|
|
||||||
tileutil: $(U)gif2txt.exe $(U)gif2tx32.exe $(U)txt2ppm.exe
|
tileutil: $(U)gif2txt.exe $(U)gif2tx32.exe $(U)txt2ppm.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user