diff options
Diffstat (limited to 'modules/ctrl/tmp/Makefile')
-rw-r--r-- | modules/ctrl/tmp/Makefile | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/modules/ctrl/tmp/Makefile b/modules/ctrl/tmp/Makefile deleted file mode 100644 index 82f9c1f..0000000 --- a/modules/ctrl/tmp/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -# -*- MakeFile -*- - -# MACRO = substitute with this - -# directories - -GAME_INC_DIR = $(GAME_DIR)/inc/ -MENU_INC_DIR = $(MENU_DIR)/inc/ -PLAY_INC_DIR = $(PLAY_DIR)/inc/ - -INC_DIR = $(CTRL_DIR)/inc/ -SRC_DIR = $(CTRL_DIR)/src/ - -# dependencies - -_ALL = start.o -ALL = $(_ALL) ctrl_mod.o - -STRT_INC_GAME = game.h game_iface.h -STRT_INC_MENU = menu_iface.h -STRT_INC_PLAY = player_iface.h -STRT_INC = start.h -STRT_DEPS = $(SRC_DIR)/start.c \ - $(patsubst %,$(GAME_INC_DIR)/%,$(STRT_INC_GAME)) \ - $(patsubst %,$(MENU_INC_DIR)/%,$(STRT_INC_MENU)) \ - $(patsubst %,$(PLAY_INC_DIR)/%,$(STRT_INC_PLAY)) \ - $(patsubst %,$(INC_DIR)/%,$(STRT_INC)) -STRT_INC_DIRS = -I $(INC_DIR) \ - -I $(GAME_INC_DIR) \ - -I $(MENU_INC_DIR) \ - -I $(PLAY_INC_DIR) - -# target: dependencies -# action - -all: $(ALL) - - -ctrl_mod.o: $(_ALL) - @echo " LD $@" - $(Q)$(LD) -r $^ -o $@ - - -start.s: $(STRT_DEPS) - @echo " CC $@" - $(Q)$(CC) $(CFLAGS) $(STRT_INC_DIRS) -S $< -o $@ -start.o: start.s - @echo " AS $@" - $(Q)$(AS) $< -o $@ - - -clean: - $(Q)rm -f *.o *.s |