diff options
author | sanine <sanine.not@pm.me> | 2023-02-03 22:34:04 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-02-03 22:34:04 -0600 |
commit | ea512c3b1d2d85ff76aa7d4979c73dd7f1217757 (patch) | |
tree | c5bd7d5151a86ae4a54a3241fe745c0e2dd64d58 /yy | |
parent | 0710a40e50d12cd731b0372d79d0ccdfbaee10d4 (diff) |
begin refactor with bison xml parser
Diffstat (limited to 'yy')
-rw-r--r-- | yy/demo.c (renamed from yy/main.c) | 0 | ||||
-rw-r--r-- | yy/makefile | 8 |
2 files changed, 4 insertions, 4 deletions
diff --git a/yy/makefile b/yy/makefile index a2022a2..6567b56 100644 --- a/yy/makefile +++ b/yy/makefile @@ -1,6 +1,6 @@ WARNINGS = -Wall -Wextra -Wpedantic -all: kalmia +all: kalmia.tab.c kalmia.lex.c kalmia.tab.c: kalmia.y bison -o "$@" --header=kalmia.tab.h kalmia.y @@ -8,8 +8,8 @@ kalmia.tab.c: kalmia.y kalmia.lex.c: kalmia.l flex -o "$@" --header-file="kalmia.lex.h" kalmia.l -kalmia: kalmia.tab.c kalmia.lex.c main.c - gcc -g -o kalmia ${WARNINGS} main.c kalmia.tab.c kalmia.lex.c +demo: kalmia.tab.c kalmia.lex.c demo.c + gcc -g -o demo ${WARNINGS} demo.c kalmia.tab.c kalmia.lex.c clean: - rm kalmia.lex.c kalmia.lex.h kalmia.tab.c kalmia.tab.h kalmia + rm kalmia.lex.c kalmia.lex.h kalmia.tab.c kalmia.tab.h demo |