shithub: scc

Download patch

ref: 3e2b9fc5817172876d54d82e4ddc7df78b051212
parent: 3bd6fb1ee5670440da8932a75dfe2ad114c30967
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Aug 17 03:49:51 EDT 2018

Clean Makefile

There were several rules that could be merged and there were rules
that were not needed anymore.

--- a/Makefile
+++ b/Makefile
@@ -7,12 +7,9 @@
 
 DIRS  = inc cc1 cc2 driver lib as ar nm objdump ld
 
-all:
+all clean dep:
 	$(FORALL)
 
-clean:
-	$(FORALL)
-
 distclean:
 	touch config.mk    # we need config.mk for makes in $DIRS
 	find . -name makefile | xargs rm -f
@@ -19,9 +16,6 @@
 	$(FORALL)
 	rm -rf rootdir
 	rm -f config.mk
-
-dep: config.mk
-	$(FORALL)
 
 tests: all
 	+cd tests && $(MAKE) -e all