--- a/makefiles-garage/imgtools/imgcheck/Makefile Mon Nov 16 10:04:44 2009 +0000
+++ b/makefiles-garage/imgtools/imgcheck/Makefile Fri Jan 08 16:16:51 2010 +0000
@@ -53,14 +53,16 @@
$(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)
for file in $(subdirs); do $(MAKE) -C $$file clean; done
-fixes: $(fixbackups)
+fixes:: $(fixbackups)
inc/exceptionimplementation.h.original:
cp $(basename $@) $@ && \
@@ -81,5 +83,5 @@
-e 's|ofstream xslDestHandle|Ofstream xslDestHandle|g' -i $(basename $@)
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