Subversion Repositories shark

Rev

Rev 1499 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1294 giacomo 1
#
2
# util_linux -> compiles the tracer utilities under Linux
3
#
4
 
5
ifndef BASE
6
BASE=../../..
7
endif
8
 
9
.PHONY: util_dos util_linux clean
10
 
11
all:
12
	@echo Targets: util_dos util_linux clean
1365 giacomo 13
	@echo Note: udpdump and list are available only under linux
1294 giacomo 14
 
1494 giacomo 15
util_linux: udpdump list pwcet_gen extract
1294 giacomo 16
 
17
udpdump: udpdump.c
18
	gcc -Wimplicit-function-declaration -Wall -ggdb\
1491 giacomo 19
	-I$(BASE)/tracer/include -I$(BASE)/oslib udpdump.c -o udpdump
1294 giacomo 20
 
1296 giacomo 21
list: list.c
22
	gcc -Wimplicit-function-declaration -Wall -ggdb\
1491 giacomo 23
        -I$(BASE)/tracer/include -I$(BASE)/oslib list.c -o list
1296 giacomo 24
 
1491 giacomo 25
pwcet_gen: pwcet_gen.c
26
	gcc -Wimplicit-function-declaration -Wall -ggdb\
27
	-I$(BASE)/tracer/include -I$(BASE)/oslib pwcet_gen.c -o pwcet_gen
28
 
1494 giacomo 29
extract: extract.c
1499 giacomo 30
	gcc -Wimplicit-function-declaration -Wall -ggdb -lm\
1494 giacomo 31
	-I$(BASE)/tracer/include -I$(BASE)/oslib extract.c -o extract
32
 
1294 giacomo 33
clean:
1504 giacomo 34
	rm -rf *.o udpdump list pwcet_gen extract
1294 giacomo 35
 
36