simple C compiler
git clone
Log | Files | Refs | README | LICENSE

commit 5b5f0fb6e9675bd768af2c3c90b8a0cbc94bf0fb
parent 399b69db4783a278f4e69a560b5bbc1b325761ee
Author: Roberto E. Vargas Caballero <>
Date:   Wed, 25 Jan 2017 15:59:55 +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.

MMakefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -6,13 +6,13 @@ include 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