Das Programmierspiel von der Gulasch-Programmier-Nacht 11

(Latest mirror + merged latest fork by qr4 on Lua 5.3)

Entropia info page https://entropia.de/GPN11:Programmierspiel (dead links)
Origin Gitlab
https://code.nerd2nerd.org/n2n/WeltraumProgrammierNacht

Makefile 1.3KB

1234567891011121314151617181920212223242526272829303132
  1. all: gameserver
  2. include settings.mak
  3. SUBDIRS = logging net server
  4. .PHONY: clean debug subdirs $(SUBDIRS)
  5. subdirs: $(SUBDIRS)
  6. $(SUBDIRS):
  7. $(MAKE) -C $@
  8. net: logging
  9. server: net
  10. gameserver: $(SUBDIRS)
  11. $(CC) $(CFLAGS) -o gameserver ./logging/logging.o ./net/net.o ./net/network.o ./server/config.o ./server/entities.o ./server/entity_storage.o ./server/json_output.o ./server/luafuncs.o ./server/luastate.o ./server/main.o ./server/map.o ./server/physics.o ./server/route.o ./server/ship.o ./server/storages.o ./server/vector.o ./net/talk.o ./net/pstr.o ./net/userstuff.o ./net/dispatch.o ./server/player.o ./server/base.o $(LDFLAGS)
  12. clean:
  13. -rm gameserver
  14. for dir in $(SUBDIRS); do \
  15. $(MAKE) -C $$dir clean; \
  16. done
  17. debug:
  18. echo "Debug build"
  19. for dir in $(SUBDIRS); do \
  20. $(MAKE) -C $$dir dbg; \
  21. done
  22. $(CC) $(CFLAGS) -DENABLE_DEBUG -fsignaling-nans -o gameserver ./logging/logging.o ./net/net.o ./net/network.o ./server/config.o ./server/entities.o ./server/entity_storage.o ./server/json_output.o ./server/luafuncs.o ./server/luastate.o ./server/main.o ./server/map.o ./server/physics.o ./server/route.o ./server/ship.o ./server/storages.o ./server/vector.o ./net/talk.o ./net/pstr.o ./net/userstuff.o ./net/dispatch.o ./server/player.o ./server/base.o $(LDFLAGS)