cursesgames: Makefile fixes
authorAlan Cox <alan@linux.intel.com>
Sun, 7 Oct 2018 21:48:28 +0000 (22:48 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 7 Oct 2018 21:48:28 +0000 (22:48 +0100)
Applications/cursesgames/Makefile.6502
Applications/cursesgames/Makefile.68000
Applications/cursesgames/Makefile.6809

index e441e18..9a2ccb9 100644 (file)
@@ -23,7 +23,7 @@ size.report: $(APPS) $(APPSNS)
        ls -l $^ > $@
 
 clean:
-       rm -f $(OBJS) $(APPS) $(SRCS:.c=) core *~ *.asm *.lst *.sym *.map *.noi *.lk *.ihx *.tmp *.bin size.report
+       rm -f $(OBJS) $(APPS) *.o core *~ *.asm *.lst *.sym *.map *.noi *.lk *.ihx *.tmp *.bin size.report
 
 rmbak:
        rm -f *~ core
index 9dad918..aca8b56 100644 (file)
@@ -29,7 +29,7 @@ size.report: $(APPS) $(APPSNS)
        ls -l $^ > $@
 
 clean:
-       rm -f $(OBJS) $(APPS) $(SRCS:.c=) core *~ *.asm *.lst *.sym *.map *.noi *.lk *.ihx *.tmp *.bin size.report
+       rm -f $(OBJS) $(APPS) *.o core *~ *.asm *.lst *.sym *.map *.noi *.lk *.ihx *.tmp *.bin size.report
 
 rmbak:
        rm -f *~ core
index d14f308..3b329f5 100644 (file)
@@ -28,5 +28,7 @@ size.report: $(APPS)
        ls -l $^ > $@
 
 clean:
-       rm -f $(OBJS) $(APPS) *.lst *.map size.report
+       rm -f $(OBJS) $(APPS) *.o core *~ *.asm *.lst *.sym *.map *.noi *.lk *.ihx *.tmp *.bin size.report
 
+rmbak:
+       rm -f *~ core