summaryrefslogtreecommitdiffstats
path: root/modules/xyzzy/tmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'modules/xyzzy/tmp/Makefile')
-rw-r--r--modules/xyzzy/tmp/Makefile45
1 files changed, 0 insertions, 45 deletions
diff --git a/modules/xyzzy/tmp/Makefile b/modules/xyzzy/tmp/Makefile
deleted file mode 100644
index dc82625..0000000
--- a/modules/xyzzy/tmp/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# -*- MakeFile -*-
-
-# MACRO = substitute with this
-
-# directories
-
-GAME_INC_DIR = $(GAME_DIR)/inc/
-
-INC_DIR = $(XYZZY_DIR)/inc/
-SRC_DIR = $(XYZZY_DIR)/src/
-
-# dependencies
-
-_ALL = xyzzy.o
-ALL = $(_ALL) xyzzy_mod.o
-
-XYZZY_INC_GAME = game_iface.h
-XYZZY_INC = xyzzy.h
-XYZZY_DEPS = $(SRC_DIR)/xyzzy.c \
- $(patsubst %,$(INC_DIR)/%,$(XYZZY_INC)) \
- $(patsubst %,$(GAME_INC_DIR)/%,$(XYZZY_INC_GAME))
-XYZZY_INC_DIRS = -I $(INC_DIR) \
- -I $(GAME_INC_DIR)
-
-# target: dependencies
-# action
-
-all: $(ALL)
-
-
-xyzzy_mod.o: $(_ALL)
- @echo " LD $@"
- $(Q)$(LD) -r $^ -o $@
-
-
-xyzzy.s: $(XYZZY_DEPS)
- @echo " CC $@"
- $(Q)$(CC) $(CFLAGS) $(XYZZY_INC_DIRS) -S $< -o $@
-xyzzy.o: xyzzy.s
- @echo " AS $@"
- $(Q)$(AS) $< -o $@
-
-
-clean:
- $(Q)rm -f *.o *.s