From 102bd9cf027d5e07a857bd6ec13e3e6160d35d63 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 10 Feb 2001 10:58:46 +0000 Subject: [PATCH] mapper auch mit CONVERT_TRIGGERS (ich hab kein neues datenfile) --- src/mapper/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/mapper/Makefile b/src/mapper/Makefile index 40e2e1934..9299bc72a 100644 --- a/src/mapper/Makefile +++ b/src/mapper/Makefile @@ -3,11 +3,11 @@ SUBDIRS = LIBRARY = BINARY = mapper +include ../Makefile.include + SOURCES = $(wildcard *.c) OBJECTS = $(SOURCES:%.c=$(BUILD_DIR)/%.o) -include ../Makefile.include - ## more definitions INCLUDES += \ @@ -27,6 +27,16 @@ LIBS += \ -lcurses \ -lm +## +## conversion code for old triggers - should only be used for free eressea, +## and only for old datafiles. +## +ifeq ($(CONVERT_TRIGGERS), 1) + SUBDIRS += old + LIBRARIES += $(PUBLISH_DIR)/libe-compat.a + LIBS += -le-compat +endif + # executable: $(BUILD_DIR)/$(BINARY):: $(BUILD_DIR) $(OBJECTS) $(LD) -o $@ $(OBJECTS) $(LDFLAGS)