Compatibility with OpenBSD. Thanks, Steve Dee!

This commit is contained in:
David Galos
2013-07-18 15:28:08 -04:00
parent cd1526715f
commit 0fcb939408
4 changed files with 22 additions and 17 deletions

View File

@@ -88,10 +88,14 @@ OBJ = $(SRC:.c=.o) $(LIB)
BIN = $(SRC:.c=)
MAN = $(SRC:.c=.1)
all: $(BIN)
all: binlib
binlib: util.a
$(MAKE) bin
bin: $(BIN)
$(OBJ): util.h config.mk
$(BIN): util.a
cat.o fold.o grep.o nl.o sort.o tail.o uniq.o: text.h
cp.o mv.o rm.o: fs.h