2001-01-25 10:37:55 +01:00
|
|
|
SUBDIRS =
|
|
|
|
|
|
|
|
LIBRARY = libe-gamecode.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-02-25 21:10:44 +01:00
|
|
|
INCLUDES = -I../kernel -I.. -I../util
|
2001-01-25 10:37:55 +01:00
|
|
|
|
|
|
|
# library:
|
|
|
|
$(BUILD_DIR)/$(LIBRARY):: $(BUILD_DIR) $(OBJECTS)
|
|
|
|
$(AR) $(ARFLAGS) $@ $(OBJECTS)
|
|
|
|
$(INSTALL) $@ $(PUBLISH_DIR)/
|
|
|
|
|
2001-01-30 21:26:06 +01:00
|
|
|
$(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)/
|
|
|
|
|