forked from github/server
mapper auch mit CONVERT_TRIGGERS (ich hab kein neues datenfile)
This commit is contained in:
parent
6d26ace77a
commit
102bd9cf02
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue