home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
prog_c
/
grammars.lzh
/
GRAMMARS
/
PASCAL
/
MAKEFILE
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1991-08-16
|
370 b
|
20 lines
SRC = gram.c scan.c main.c
Pascal : $(SRC)
-delete Pascal
lc -L -b0 -cw $(SRC)
mv gram Pascal
scan.c : gram.tab.h scan.l
-delete scan.c
flex scan.l
mv lex.yy.c scan.c
gram.c : gram.y
-delete gram.c
bison -dv gram.y
mv gram.tab.c gram.c
clean :
rm -f a.out y.tab.h y.output *.o