[hackers] [scc] Makefile: Don't use the name of the driver binary in main Makefile || Roberto E. Vargas Caballero
commit 5b5f0fb6e9675bd768af2c3c90b8a0cbc94bf0fb
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Jan 25 15:59:55 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Jan 25 15:59:55 2017 +0100
Makefile: Don't use the name of the driver binary in main Makefile
Using the name fo the driver binary without prerequisites was
avoiding to rebuild the driver when scc.c was changed,
because since it hasn't prerequisites it was updated always.
diff --git a/Makefile b/Makefile
index 970c578..7fa3f8e 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -6,13 +6,13 @@ include config.mk
DIRS = lib cc1 cc2 driver/$(DRIVER)
-all: driver/$(DRIVER)/scc
+all: scc-driver
for i in $(ARCHS); \
do \
$(MAKE) $$i || exit; \
done
-driver/$(DRIVER)/scc:
+scc-driver:
cd driver/$(DRIVER)/ && $(MAKE) scc
ln -f driver/$(DRIVER)/scc bin/scc
Received on Wed Jan 25 2017 - 16:01:22 CET
This archive was generated by hypermail 2.3.0
: Wed Jan 25 2017 - 16:12:19 CET