mapper auch mit CONVERT_TRIGGERS (ich hab kein neues datenfile)

This commit is contained in:
Enno Rehling 2001-02-10 10:58:46 +00:00
parent 6d26ace77a
commit 102bd9cf02
1 changed files with 12 additions and 2 deletions

View File

@ -3,11 +3,11 @@ SUBDIRS =
LIBRARY = LIBRARY =
BINARY = mapper BINARY = mapper
include ../Makefile.include
SOURCES = $(wildcard *.c) SOURCES = $(wildcard *.c)
OBJECTS = $(SOURCES:%.c=$(BUILD_DIR)/%.o) OBJECTS = $(SOURCES:%.c=$(BUILD_DIR)/%.o)
include ../Makefile.include
## more definitions ## more definitions
INCLUDES += \ INCLUDES += \
@ -27,6 +27,16 @@ LIBS += \
-lcurses \ -lcurses \
-lm -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: # executable:
$(BUILD_DIR)/$(BINARY):: $(BUILD_DIR) $(OBJECTS) $(BUILD_DIR)/$(BINARY):: $(BUILD_DIR) $(OBJECTS)
$(LD) -o $@ $(OBJECTS) $(LDFLAGS) $(LD) -o $@ $(OBJECTS) $(LDFLAGS)