ref: 0e5c97b6bbb089afe3a34ecb2ffbbaf960580d61
parent: bf7236ddf91b0242a3960fb3f66391e1a51b4a74
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Sep 2 15:58:06 EDT 2015
Add test rule to the Makefile
--- a/cc1/Makefile
+++ b/cc1/Makefile
@@ -12,6 +12,9 @@
cc1: $(OBJS) ../lib/libcc.a
$(CC) $(LDFLAGS) $(OBJS) ../lib/libcc.a -o $@
+test:
+ cd tests && ./chktest.sh
+
clean:
rm -f $(OBJS)
rm -f cc1