diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 1998-08-17 09:30:19 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 1998-08-17 09:30:19 +0000 |
| commit | ecc91352992149088d4356e113020a646d7a4db6 (patch) | |
| tree | fed79bc7d64477fc784bef0fc942c6be43af0189 /lib/libfetch/Makefile | |
| parent | cd1ab665c8182b0f792aa66ef40cde241d4e1dee (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/Makefile')
| -rw-r--r-- | lib/libfetch/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index ec41775e786b..91bbe1d38e24 100644 --- a/lib/libfetch/Makefile +++ b/lib/libfetch/Makefile @@ -1,5 +1,5 @@ LIB= fetch -CFLAGS+= -I${.CURDIR} -Wall +CFLAGS+= -I${.CURDIR} -Wall -pedantic -DNDEBUG SRCS= fetch.c ftp.c http.c file.c MAN3= fetch.3 CLEANFILES+= ftperr.c httperr.c @@ -11,8 +11,9 @@ beforeinstall: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/fetch.h \ ${DESTDIR}/usr/include -ftperr.c: ftp.errors - @echo "struct ftperr {" \ >> ${.TARGET} +ftp.c: ftperr.c +ftperr.c: ftp.errors + @echo "struct ftperr {" \ > ${.TARGET} @echo " const int num;" \ >> ${.TARGET} @echo " const char *string;" \ >> ${.TARGET} @echo "};" \ >> ${.TARGET} @@ -26,8 +27,9 @@ ftperr.c: ftp.errors @echo " { -1, \"Unknown FTP error\" }" >> ${.TARGET} @echo "};" >> ${.TARGET} -httperr.c: http.errors - @echo "struct httperr {" \ >> ${.TARGET} +http.c: httperr.c +httperr.c: http.errors + @echo "struct httperr {" \ > ${.TARGET} @echo " const int num;" \ >> ${.TARGET} @echo " const char *string;" \ >> ${.TARGET} @echo "};" \ >> ${.TARGET} |
