]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/ibl.git/blob - src/util/romparse/Makefile
Updated romparse and the makefiles with the new i2c layout
[keystone-rtos/ibl.git] / src / util / romparse / Makefile
3 all: gen_cdefdep romparse
5 romparse: cdefdep rparse.tab.o lex.yy.o romparse.c
6         gcc -o romparse -g romparse.c rparse.tab.o lex.yy.o -I../.. -I. -D$(TARGET)
9 rparse.tab.o: rparse.y
10         bison -d -S ./bison.simple rparse.y
11         gcc -c rparse.tab.c
13 lex.yy.o: rparse.flex
14         flex rparse.flex
15         gcc -c lex.yy.c
18 clean:
19         rm -f romparse.exe rparse.tab.o lex.yy.o lex.yy.c rparse.tab.c rparse.tab.h
21 gen_cdefdep:
22         @echo Checking command line dependencies
23         @echo $(TARGET) > cdefdep.tmp
24         @sh -c 'if diff -q cdefdep.tmp cdefdep ; then echo same ; else cp cdefdep.tmp cdefdep ; fi '
25