diff options
| author | Quentin Carbonneaux | 2024-09-02 18:19:42 +0200 |
|---|---|---|
| committer | Quentin Carbonneaux | 2024-09-02 18:24:56 +0200 |
| commit | 2456f6593694e83d036a79bebcc0c0c5922a9987 (patch) | |
| tree | 3f8cf120dcb20982cd50847b201f3260717ec1d1 | |
| parent | 3bea0b61a5f24a00927bb26f9fa569d95c609fcf (diff) | |
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | yacc.c | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0d9bd40 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +CFLAGS = -O2 -Wall -pedantic -std=c89 + +all: yacc + +clean: + rm -f yacc + +.PHONY: all clean @@ -1,5 +1,4 @@ -/*% clang --pedantic -std=c89 -g -Wall -Wextra % -o # - * miniyacc - LALR(1) grammars for C +/* miniyacc - LALR(1) grammars for C * See LICENSE for copyright and license details. */ #include <assert.h> |
