2001-01-25 10:37:55 +01:00
|
|
|
SUBDIRS =
|
|
|
|
|
|
|
|
LIBRARY =
|
|
|
|
BINARY = mapper
|
|
|
|
|
|
|
|
SOURCES = $(wildcard *.c)
|
|
|
|
OBJECTS = $(SOURCES:%.c=$(BUILD_DIR)/%.o)
|
|
|
|
|
|
|
|
include ../Makefile.include
|
|
|
|
|
|
|
|
## more definitions
|
|
|
|
|
|
|
|
INCLUDES += \
|
2001-01-28 09:20:05 +01:00
|
|
|
-I../common/util \
|
|
|
|
-I../common/kernel \
|
|
|
|
-I../common
|
2001-01-25 10:37:55 +01:00
|
|
|
|
|
|
|
LIBS += \
|
|
|
|
-le-modules \
|
|
|
|
-le-kernel \
|
|
|
|
-le-items \
|
|
|
|
-le-spells \
|
|
|
|
-le-triggers \
|
|
|
|
-le-races \
|
|
|
|
-le-attributes \
|
|
|
|
-le-util \
|
|
|
|
-lcurses \
|
|
|
|
-lm
|
|
|
|
|
|
|
|
# executable:
|
|
|
|
$(BUILD_DIR)/$(BINARY):: $(BUILD_DIR) $(OBJECTS)
|
|
|
|
$(LD) -o $@ $(OBJECTS) $(LDFLAGS)
|
|
|
|
$(INSTALL) $@ $(PUBLISH_DIR)/
|
|
|
|
|