File: Makefile

package info (click to toggle)
php3 1%3A3.0.5-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 8,348 kB
  • ctags: 9,086
  • sloc: ansic: 76,362; sh: 2,333; php: 1,329; yacc: 1,148; makefile: 970; perl: 763; cpp: 529; awk: 90; sql: 11
file content (28 lines) | stat: -rw-r--r-- 905 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
convertor:	language-scanner.o language-parser.tab.o token_cache.o main.o alloc.o
	gcc -o convertor language-scanner.o language-parser.tab.o token_cache.o main.o alloc.o

language-parser.tab.c language-parser.tab.h:	language-parser.y token_cache.h
	bison -p php -v -d language-parser.y

language-scanner.c:		language-scanner.lex token_cache.h
	flex -i -Pphp -olanguage-scanner.c language-scanner.lex


language-parser.tab.o:	language-parser.tab.c token_cache.h
	gcc -c language-parser.tab.c -o language-parser.tab.o

language-scanner.o:		language-scanner.c token_cache.h language-parser.tab.h
	gcc -c language-scanner.c -o language-scanner.o

token_cache.o:	token_cache.c token_cache.h
	gcc -c token_cache.c -o token_cache.o

main.o:		main.c token_cache.h
	gcc -c main.c -o main.o

alloc.o:	alloc.c token_cache.h
	gcc -c alloc.c -o alloc.o

clean:
	rm -f *.o *.tab.c *.output language-scanner.c convertor