server/src/common/triggers/Makefile

28 lines
548 B
Makefile
Raw Normal View History

2001-01-25 10:37:55 +01:00
SUBDIRS =
LIBRARY = libe-triggers.a
BINARY =
SOURCES = $(wildcard *.c)
OBJECTS = $(SOURCES:%.c=$(BUILD_DIR)/%.o)
2002-09-12 22:45:34 +02:00
include $(ERESSEA_SRC)/Makefile.include
2001-01-25 10:37:55 +01:00
## more definitions
2001-01-26 17:19:41 +01:00
INCLUDES += -I../util -I../kernel -I../gamecode -I..
2001-01-25 10:37:55 +01:00
# library:
$(BUILD_DIR)/$(LIBRARY):: $(BUILD_DIR) $(OBJECTS)
$(AR) $(ARFLAGS) $@ $(OBJECTS)
$(INSTALL) $@ $(PUBLISH_DIR)/
$(PUBLISH_DIR)/$(LIBRARY): $(BUILD_DIR)/$(LIBRARY)
$(INSTALL) $< $@
2001-01-25 10:37:55 +01:00
# executable:
#$(BUILD_DIR)/$(BINARY):: $(OBJECTS)
# $(LD) $(LDFLAGS) -o $@ $(OBJECTS)
# $(INSTALL) $@ $(PUBLISH_DIR)/