+game_em_dir:
+ @$(MAKE) -C $(GAME_EM_DIR)
+$(GAME_EM):
+ @$(MAKE) -C $(GAME_EM_DIR)
+
+game_sp_dir:
+ @$(MAKE) -C $(GAME_SP_DIR)
+$(GAME_SP):
+ @$(MAKE) -C $(GAME_SP_DIR)
+
+auto-conf:
+ @for i in $(CNFS); do \
+ echo "$(CNFS_CMD) $$i > $$i"; \
+ $(CNFS_CMD) $$i > $$i; \
+ done
+
+auto-conf-clean:
+ @for i in $(CNFS); do \
+ echo "$(RM) $$i"; \
+ $(RM) $$i; \
+ done
+
+conf_gfx.h: conf_gfx.c $(CNFS_CMD)
+ @$(MAKE) auto-conf
+
+conf_snd.h: conf_snd.c $(CNFS_CMD)
+ @$(MAKE) auto-conf
+
+conf_mus.h: conf_mus.c $(CNFS_CMD)
+ @$(MAKE) auto-conf
+
+# $(TIMESTAMP_FILE): $(SRCS) $(LIBGAME) $(GAME_EM) $(GAME_SP)
+$(TIMESTAMP_FILE): $(SRCS) $(RNDLIBS)
+ @date '+"%Y-%m-%d %H:%M"' \
+ | sed -e 's/^/#define COMPILE_DATE_STRING /' \
+ > $(TIMESTAMP_FILE)
+
+$(ICON):
+# $(CONVERT) $(ICON32X32) $(CONVERT_ICON_ARGS) $(ICONBASE).ico
+ $(CONVERT) $(ICON_PATH)/*.png $(CONVERT_ICON_ARGS) $(ICONBASE).ico
+ echo "$(ICONBASE) ICON $(ICONBASE).ico" | $(WINDRES) -o $(ICON)
+
+.c.o:
+ $(CC) $(PROFILING) $(CFLAGS) -c $*.c
+
+graphics_dir:
+ @test -f $(GRAPHICS_DIR)/Makefile && $(MAKE) -C $(GRAPHICS_DIR) || true
+
+clean-obj:
+ $(MAKE) -C $(LIBGAME_DIR) clean
+ $(MAKE) -C $(GAME_EM_DIR) clean
+ $(MAKE) -C $(GAME_SP_DIR) clean
+ $(RM) $(OBJS)
+ $(RM) $(RNDLIBS)
+# $(RM) $(LIBGAME)
+# $(RM) $(GAME_EM)
+# $(RM) $(GAME_SP)
+
+clean-ico:
+ $(RM) $(ICONBASE).ico
+ $(RM) $(ICONBASE).o
+
+clean-bin: