mudgangster

Tiny, scriptable MUD client
Log | Files | Refs

Makefile (815B)


      1 all: debug
      2 .PHONY: debug asan release clean
      3 
      4 build/lua_combined.h: src/lua/action.lua src/lua/alias.lua src/lua/chat.lua src/lua/mud.lua src/lua/event.lua src/lua/gag.lua src/lua/handlers.lua src/lua/intercept.lua src/lua/interval.lua src/lua/macro.lua src/lua/main.lua src/lua/script.lua src/lua/serialize.lua src/lua/status.lua src/lua/sub.lua src/lua/utils.lua src/lua/socket.lua
      5 	@printf "\033[1;33mbuilding $@\033[0m\n"
      6 	@scripts/pack_lua.sh
      7 
      8 debug: build/lua_combined.h
      9 	@lua make.lua > gen.mk
     10 	@$(MAKE) -f gen.mk
     11 
     12 asan: build/lua_combined.h
     13 	@lua make.lua asan > gen.mk
     14 	@$(MAKE) -f gen.mk
     15 
     16 release: build/lua_combined.h
     17 	@lua make.lua release > gen.mk
     18 	@$(MAKE) -f gen.mk
     19 
     20 clean:
     21 	@lua make.lua debug > gen.mk
     22 	@$(MAKE) -f gen.mk clean
     23 	@lua make.lua asan > gen.mk
     24 	@$(MAKE) -f gen.mk clean
     25 	@rm -f gen.mk
     26