comun.mk (852B)
1 # comun.mk - fuentes y flags de comun/ para el Makefile de un juego. 2 # COMUN ?= ../comun 3 # include $(COMUN)/comun.mk 4 # El juego tiene que tener un app_config.h en su include path (ver README.md). 5 6 COMUN_INC := -I$(COMUN)/base -I$(COMUN)/gfx -I$(COMUN)/linux -I$(COMUN)/server -I$(COMUN)/pico 7 COMUN_BASE := $(wildcard $(COMUN)/base/*.c) 8 COMUN_GFX := $(wildcard $(COMUN)/gfx/*.c) 9 COMUN_LINUX := $(COMUN)/linux/paths.c $(COMUN)/linux/netline.c 10 COMUN_TUI := $(COMUN)/linux/tuikit.c 11 COMUN_GUI := $(COMUN)/linux/guikit.c 12 COMUN_SERVER := $(COMUN)/server/srv.c $(COMUN)/server/ws.c 13 COMUN_SIM := $(COMUN)/pico/hal_sim.c $(COMUN)/pico/link.c 14 COMUN_HDRS := $(wildcard $(COMUN)/*/*.h) 15 COMUN_TOOLS := $(COMUN)/tools 16 17 # Regenerar la fuente bitmap (X11 misc-fixed, dominio publico): 18 # python3 $(COMUN)/tools/mkfont.py > $(COMUN)/gfx/font.c