diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-02 15:34:38 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-02 15:34:38 -0400 |
commit | 30eced928c404caae41d62f238270f00bdf7c25b (patch) | |
tree | 6f305c2d318e4a9b2dbec9f5a38a704a090c96c1 /minic/Makefile | |
parent | ecaad8119f77601fec4cab61c510d697ec5bb939 (diff) | |
download | roux-30eced928c404caae41d62f238270f00bdf7c25b.tar.gz |
start an example compiler for a subset of C
Diffstat (limited to 'minic/Makefile')
-rw-r--r-- | minic/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/minic/Makefile b/minic/Makefile new file mode 100644 index 0000000..39b2946 --- /dev/null +++ b/minic/Makefile @@ -0,0 +1,8 @@ +CFLAGS=-g -Wall + +minic: yacc minic.y + ./yacc minic.y + $(CC) $(CFLAGS) -o $@ y.tab.c +clean: + rm -f yacc minic y.* +.PHONY: clean |