Remove duplicate macro definition.
[neverball] / Makefile
index 54aa040..113262c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -67,8 +67,7 @@ BALL_OBJS= \
        ball/st_conf.o  \
        ball/st_demo.o  \
        ball/st_save.o  \
-       ball/st_fail.o  \
-       ball/st_goal.o  \
+       ball/st_play_end.o  \
        ball/st_done.o  \
        ball/st_level.o \
        ball/st_over.o  \
@@ -127,7 +126,7 @@ LINGUAS= $(POS:po/%.po=%)
 #------------------------------------------------------------------------------
 
 %.d : %.c
-       $(CC) $(CFLAGS) -Ishare -MM -MF $@ $<
+       $(CC) $(CFLAGS) -Ishare -MM -MF $@ -MT '$*.o $@' $<
 
 %.o : %.c
        $(CC) $(CFLAGS) -Ishare -o $@ -c $<
@@ -186,3 +185,8 @@ po-update-merge : $(POS)
 po-update : po-update-extract po-update-merge
 
 #------------------------------------------------------------------------------
+
+.PHONY : all sols locales clean-src clean test \
+       po-update-extract po-update-merge po-update
+
+-include $(BALL_DEPS) $(PUTT_DEPS) $(MAPC_DEPS)