moonbridge

diff Makefile @ 9:757902555204

Proper treatment of double semicolons in package.path and added MOONBR_LUA_CPATH in addition to MOONBR_LUA_PATH
author jbe
date Thu Jan 29 15:14:58 2015 +0100 (2015-01-29)
parents 32e0838d16e6
children bf7d3921872d
line diff
     1.1 --- a/Makefile	Thu Jan 29 03:22:06 2015 +0100
     1.2 +++ b/Makefile	Thu Jan 29 15:14:58 2015 +0100
     1.3 @@ -28,10 +28,14 @@
     1.4  MOONBR_LUA_PATH_DEFINE = "-DMOONBR_LUA_PATH=\"$(MOONBR_LUA_PATH)\""
     1.5  .endif
     1.6  
     1.7 +.ifdef MOONBR_LUA_CPATH
     1.8 +MOONBR_LUA_CPATH_DEFINE = "-DMOONBR_LUA_CPATH=\"$(MOONBR_LUA_CPATH)\""
     1.9 +.endif
    1.10 +
    1.11  all:: moonbridge
    1.12  
    1.13  moonbridge: moonbridge.c
    1.14 -	cc -Wall -O2 -Wl,-E -I $(LUA_INCLUDE) -L $(LUA_LIBDIR) -o moonbridge $(MOONBR_LUA_PATH_DEFINE) moonbridge.c -lm -l$(LUA_LIBRARY) $(UTIL_FLAGS)
    1.15 +	cc -Wall -O2 -Wl,-E -I $(LUA_INCLUDE) -L $(LUA_LIBDIR) -o moonbridge $(MOONBR_LUA_PATH_DEFINE) $(MOONBR_LUA_CPATH_DEFINE) moonbridge.c -lm -l$(LUA_LIBRARY) $(UTIL_FLAGS)
    1.16  
    1.17  clean::
    1.18  	rm -f moonbridge

Impressum / About Us