2001-01-27 12:32:32 +01:00
|
|
|
SUBDIRS =
|
|
|
|
|
|
|
|
LIBRARY = libe-modules.a
|
|
|
|
BINARY =
|
|
|
|
|
|
|
|
SOURCES = $(wildcard *.c)
|
|
|
|
OBJECTS = $(SOURCES:%.c=$(BUILD_DIR)/%.o)
|
|
|
|
|
|
|
|
include $(ERESSEA)/Makefile.include
|
|
|
|
|
|
|
|
## more definitions
|
|
|
|
|
2001-02-28 23:14:59 +01:00
|
|
|
INCLUDES += -I../gamecode -I../kernel -I../util -I..
|
2001-01-27 12:32:32 +01:00
|
|
|
|
|
|
|
# library:
|
|
|
|
$(BUILD_DIR)/$(LIBRARY):: $(BUILD_DIR) $(OBJECTS)
|
|
|
|
$(AR) $(ARFLAGS) $@ $(OBJECTS)
|
|
|
|
|
2001-01-30 21:26:06 +01:00
|
|
|
$(PUBLISH_DIR)/$(LIBRARY): $(BUILD_DIR)/$(LIBRARY)
|
|
|
|
$(INSTALL) $< $@
|