scc

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

commit 0e5c97b6bbb089afe3a34ecb2ffbbaf960580d61
parent bf7236ddf91b0242a3960fb3f66391e1a51b4a74
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed,  2 Sep 2015 19:58:06 +0200

Add test rule to the Makefile

Diffstat:
Mcc1/Makefile | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/cc1/Makefile b/cc1/Makefile @@ -12,6 +12,9 @@ $(OBJS) : cc1.h ../inc/cc.h ../inc/sizes.h cc1: $(OBJS) ../lib/libcc.a $(CC) $(LDFLAGS) $(OBJS) ../lib/libcc.a -o $@ +test: + cd tests && ./chktest.sh + clean: rm -f $(OBJS) rm -f cc1