server/src/common/gamecode/Makefile

26 lines
459 B
Makefile
Raw Normal View History

2001-01-25 10:37:55 +01:00
SUBDIRS =
LIBRARY = libe-gamecode.a
BINARY =
SOURCES = $(wildcard *.c)
OBJECTS = $(SOURCES:%.c=$(BUILD_DIR)/%.o)
2001-01-26 17:19:41 +01:00
include $(ERESSEA)/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..
2001-01-25 10:37:55 +01:00
# library:
$(BUILD_DIR)/$(LIBRARY):: $(BUILD_DIR) $(OBJECTS)
$(AR) $(ARFLAGS) $@ $(OBJECTS)
$(INSTALL) $@ $(PUBLISH_DIR)/
# executable:
#$(BUILD_DIR)/$(BINARY):: $(OBJECTS)
# $(LD) $(LDFLAGS) -o $@ $(OBJECTS)
# $(INSTALL) $@ $(PUBLISH_DIR)/