Commit 3fe7b7fa authored by Robert Ricci's avatar Robert Ricci
Browse files

Make sure to include . in the include path

parent 68b4268c
all: stubd stub-monitor dumb-client dumb-server
stubd: stubd.o stub-pcap.o lookup.o log.o
g++ -g -Wall stubd.o stub-pcap.o lookup.o log.o -lm -lpcap -o stubd
g++ -I. -g -Wall stubd.o stub-pcap.o lookup.o log.o -lm -lpcap -o stubd
stub-monitor: stub-monitor.c stub.h
gcc -g -Wall stub-monitor.c -o stub-monitor
gcc -I. -g -Wall stub-monitor.c -o stub-monitor
stubd.o: stubd.c stub.h log.h
gcc -g -Wall -c stubd.c
gcc -I. -g -Wall -c stubd.c
stub-pcap.o: stub-pcap.c stub.h log.h
gcc -g -Wall -c stub-pcap.c
gcc -I. -g -Wall -c stub-pcap.c
lookup.o: stub.h log.h
g++ -g -Wall -c
g++ -I. -g -Wall -c
log.o: log.c log.h
gcc -g -Wall -c log.c
gcc -I. -g -Wall -c log.c
dumb-client: dumb-client.o
gcc -g -Wall dumb-client.o -lm -lpcap -o dumb-client
gcc -I. -g -Wall dumb-client.o -lm -lpcap -o dumb-client
dumb-client.o: dumb-client.c stub.h
gcc -g -Wall -c dumb-client.c
gcc -I. -g -Wall -c dumb-client.c
dumb-server: dumb-server.o
gcc -g -Wall dumb-server.o -lm -lpcap -o dumb-server
gcc -I. -g -Wall dumb-server.o -lm -lpcap -o dumb-server
dumb-server.o: dumb-server.c stub.h
gcc -g -Wall -c dumb-server.c
gcc -I. -g -Wall -c dumb-server.c
rm *.o stubd stubm stub-monitor
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment