scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 169482fbf00dd02608f6fa20c928bdf12a56363d
parent bad28ddd7eb164eac03667f2fc97197c8abff48e
Author: Roberto E. Vargas Caballero <roberto.vargas@igrid-td.com>
Date:   Thu,  7 Apr 2016 08:41:54 +0200

[cc2] Fix Makefile

Trap affects only to the current shell, so if the semicolon
was lost then the trap was not affecting to the full rule.

Diffstat:
Mcc2/Makefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc2/Makefile b/cc2/Makefile @@ -12,7 +12,7 @@ $(OBJS): cc2.h main.o: error.h error.h: cc2.h - rm -f $@; trap 'rm -f $$$$.h' EXIT INT QUIT + rm -f $@; trap 'rm -f $$$$.h' EXIT INT QUIT ;\ awk -f generror cc2.h > $$$$.h && mv $$$$.h $@ cc2: $(OBJS) ../lib/libcc.a