This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
libcdio-osx/parse/Makefile

48 lines
982 B
Makefile
Raw Normal View History

2003-07-12 00:26:07 +00:00
INCLUDES = -I .
2005-01-31 10:20:51 +00:00
all: cueparser cuelexer tocparser
2003-05-11 03:29:25 +00:00
lex.cue.c: cue.L cue.tab.h
flex -Pcue cue.L
lex.cuelex.c: cue.L cue.tab.h
flex -Pcuelex cue.L
lex.cue.o: lex.cue.c
2003-07-12 00:26:07 +00:00
gcc -g -Wall -c lex.cue.c $(INCLUDES)
2003-05-11 03:29:25 +00:00
lex.cuelex.o: lex.cuelex.c
gcc -g -DSTANDALONE -Wall -c lex.cuelex.c
2003-07-12 00:26:07 +00:00
cue.tab.c, cue.tab.h: cue.y
2003-05-11 03:29:25 +00:00
bison -p cue -d cue.y
cue.tab.o: cue.tab.c cue.tab.h
2003-07-12 00:26:07 +00:00
gcc -g -Wall -DSTANDALONE -c cue.tab.c $(INCLUDES)
2003-05-11 03:29:25 +00:00
cueparser: lex.cue.o cue.tab.o
gcc -g lex.cue.o cue.tab.o -lfl -o cueparser
cuelexer: lex.cuelex.o
gcc -g lex.cuelex.o -lfl -o cuelexer
2005-01-31 10:20:51 +00:00
toc.tab.h: toc.tab.c
toc.tab.c: toc.y
bison -p toc -d toc.y
toclexer.o: toclexer.c
gcc -g -Wall -c toclexer.c $(INCLUDES)
toc.tab.o: toc.tab.c toc.tab.h
gcc -g -Wall -DSTANDALONE -c toc.tab.c $(INCLUDES)
tocparser: toc.tab.o toclexer.o
gcc -g toclexer.o toc.tab.o -o tocparser
clean:
rm -f lex.cue.c lex.cuelex.c lex.cue.o lex.cuelex.o cue.tab.c \
2003-07-12 00:26:07 +00:00
cue.tab.o cueparser cuelexer
check:
(cd test && ./runall)