SubDir TOP mapper ; TargetDirectory ; SubDirHdrs $(SUBDIR)/../common/gamecode ; SubDirHdrs $(SUBDIR)/../common/kernel ; SubDirHdrs $(SUBDIR)/../common/util ; SubDirHdrs $(SUBDIR)/../common ; SubDirHdrs $(SUBDIR)/.. ; SubDirHdrs $(XMLHDRS) ; SOURCES = logging.c map_modify.c map_partei.c mapper.c map_region.c map_tools.c map_units.c ; Main mapper : $(SOURCES) ; LinkLibraries mapper : gamecode kernel modules items attributes spells races triggers util ; libxml2 mapper ; LINKLIBS on mapper += -L$(LUABIND_ROOT)/lib -lm -lncurses ;