NetBSD/dist/ipf/samples/Makefile

25 lines
553 B
Makefile

CC=gcc
all:
@echo "Please do one of the following:"
@echo "make bsd"
@echo "make bsdi"
@echo "make freebsd"
@echo "make freebsd22"
@echo "make netbsd"
@echo "make openbsd"
@echo "make sunos4"
@echo "make sunos5"
sunos5:
$(CC) -I.. userauth.c -o userauth -lsocket -lnsl
$(CC) -I.. proxy.c -o proxy -lsocket -lnsl
$(CC) -I.. relay.c -o relay -lsocket -lnsl
freebsd freebsd22 netbsd bsd bsdi sunos4 openbsd:
$(CC) -I.. userauth.c -o userauth
$(CC) -I.. proxy.c -o proxy
$(CC) -I.. relay.c -o relay
clean:
/bin/rm -f userauth proxy relay