Browse files

Restructure the Makefile so that multiple operating system

checks are not necessary.  It may be prudent, at this time, to
redevelop the build system based on autoconf.
  • Loading branch information...
1 parent 5b79107 commit 869ad41fe24b4ec4980c0f41d972c254806abdb0 @howardjp committed Jun 7, 2010
Showing with 2 additions and 8 deletions.
  1. +2 −8 Makefile
View
10 Makefile
@@ -15,18 +15,12 @@ MLINKS= grep.1 egrep.1 \
grep.1 zegrep.1 \
grep.1 zfgrep.1
-.if ${OPSYS} == "Minix"
-CPPFLAGS+= -DNOZ -D_POSIX_SOURCE -D_MINIX
-.endif
-
CFLAGS+= -Wall
-.if ${OPSYS} != "Minix"
+.if ${OPSYS} == "Minix"
+CPPFLAGS+= -DNOZ -D_POSIX_SOURCE -D_MINIX
LDADD= -lz
DPADD= ${LIBZ}
-.endif
-
-.if ${OPSYS} == "Minix"
.include <minix.prog.mk>
.elif
.include <bsd.prog.mk>

0 comments on commit 869ad41

Please sign in to comment.