compiler

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.deepztream.com/compiler
Log | Files | Refs

Makefile (243B)


      1 compiler: parse.c lex.c
      2 	gcc -g -o $@ parse.c lex.c
      3 
      4 parse.c: parse.y
      5 	bison --defines=parse.tab.h --report=all -o $@ $<
      6 
      7 lex.c: lex.l
      8 	flex --header-file=lex.h -o $@ $<
      9 
     10 clean:
     11 	rm -f *.o parse.tab.h lex.h compiler parse.c lex.c parse.output