Subversion Repositories shark

Rev

Rev 1294 | Rev 1301 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#
# util_linux -> compiles the tracer utilities under Linux
#

ifndef BASE
BASE=../../..
endif

.PHONY: util_dos util_linux clean

all:
        @echo Targets: util_dos util_linux clean
        @echo Note: udpdump is available only under linux

util_linux: udpdump list

udpdump: udpdump.c
        gcc -Wimplicit-function-declaration -Wall -ggdb\
        -I$(BASE)/include/trace -I$(BASE)/oslib udpdump.c -o udpdump

list: list.c
        gcc -Wimplicit-function-declaration -Wall -ggdb\
        -I$(BASE)/include/trace -I$(BASE)/oslib list.c -o list

clean:
        rm -rf *.o udpdump