--- a/makefiles-garage/bintools/elftools/getexports/Makefile Mon Nov 16 10:04:44 2009 +0000
+++ b/makefiles-garage/bintools/elftools/getexports/Makefile Fri Jan 08 16:16:51 2010 +0000
@@ -48,17 +48,19 @@
$(prereqs): $(global_prereqs)
$(MAKE) -C $(EPOCROOT)/build $@
-
-$(exe): $(objs) $(prereqs)
+
+$(objs): $(prereqs)
+
+$(exe): $(objs)
$(CC) -o $@ $(objs) $(LDFLAGS)
clean: remove_fixes
rm -f $(objs) $(exe)
-fixes: $(fixbackups)
+fixes:: $(fixbackups)
remove_fixes:
- for file in $(fixbackups); do if [ -f $$file ]; then mv -f $$file $${file%original}; fi; done
+ for file in $(fixbackups); do if [ -f $$file ]; then mv -f $$file $${file%\.original}; fi; done
geninf.cpp.original:
cp $(basename $@) $@ && \