summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--yacc.c3
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
diff --git a/yacc.c b/yacc.c
index 6de46fb..c75016e 100644
--- a/yacc.c
+++ b/yacc.c
@@ -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>