CONERT_TRIGGERS=1 um die triggers zu konvertieren

This commit is contained in:
Enno Rehling 2001-01-28 09:24:47 +00:00
parent d35ec83eb6
commit c013e9c027
3 changed files with 11 additions and 6 deletions

View File

@ -3,9 +3,10 @@ TARGETS = subdirs
SUBDIRS = \
common \
eressea \
mapper
# askalon \
# tools \
mapper
include Makefile.include

View File

@ -133,6 +133,8 @@ $(BUILD_DIR)/%.o:: %.c
## and only for old datafiles.
##
#CFLAGS += -DCONVERT_TRIGGER
#INCLUDES += -I. -I$(ERESSEA)/eressea/old
ifeq ($(CONVERT_TRIGGERS), 1)
CFLAGS += -DCONVERT_TRIGGER
INCLUDES += -I. -I$(ERESSEA)/eressea/old
endif

View File

@ -15,9 +15,11 @@ OBJECTS = $(SOURCES:%.c=$(BUILD_DIR)/%.o)
## conversion code for old triggers - should only be used for free eressea,
## and only for old datafiles.
##
#SUBDIRS += old
#LIBRARIES += $(PUBLISH_DIR)/libe-compat.a
#LIBS += -le-compat
ifeq ($(CONVERT_TRIGGERS), 1)
SUBDIRS += old
LIBRARIES += $(PUBLISH_DIR)/libe-compat.a
LIBS += -le-compat
endif
##
## more definitions