diff options
Diffstat (limited to 'devel/st/files/Makefile.examples')
| -rw-r--r-- | devel/st/files/Makefile.examples | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/st/files/Makefile.examples b/devel/st/files/Makefile.examples new file mode 100644 index 000000000000..f4fb2d1dbed7 --- /dev/null +++ b/devel/st/files/Makefile.examples @@ -0,0 +1,16 @@ +PREFIX?= /usr/local +CFLAGS+= -I${PREFIX}/include -L${PREFIX}/lib + +all: lookupdns proxy server + +lookupdns: lookupdns.o res.o + ${CC} ${CFLAGS} -o ${.TARGET} lookupdns.o res.o -lst + +proxy: proxy.o + ${CC} ${CFLAGS} -o ${.TARGET} proxy.o -lst + +server: server.o error.o + ${CC} ${CFLAGS} -o ${.TARGET} server.o error.o -lst + +clean: + rm -f lookupdns proxy server *.o |
