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

34 lines
686 B
Makefile
Raw Normal View History

2003-07-12 00:26:07 +00:00
INCLUDES = -I .
2003-05-11 03:29:25 +00:00
all: cueparser cuelexer
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
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)