Makefile 431 Bytes
Newer Older
Per Cederqvist's avatar
Per Cederqvist committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
INCDIRS=-I$(HOME)/include
LIBDIRS=-L$(HOME)/lib
SOURCES=tcp.c udp.c
CFLAGS= -g $(LIBDIRS) $(INCDIRS)
CC=gcc

tcp:	tcp.c $(HOME)/include/isc.h $(HOME)/lib/libisc.a
	gcc $(CFLAGS) -o tcp tcp.c -lisc -lansi

udp:	udp.c $(HOME)/include/isc.h $(HOME)/lib/libisc.a
	gcc $(CFLAGS) -o udp udp.c -lisc -lansi

clean:
	rm -f *~ *.o a.out core tcp udp \#*\#

depend:
	gmkdep $(INCDIRS) $(SOURCES)

# DO NOT DELETE THIS LINE -- mkdep uses it.