Skip to content

Commit

Permalink
Exit when required parameters not provided to win32/Makefile.gcc.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Jan 29, 2012
1 parent 520561c commit 8fbd9f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions win32/Makefile.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ zlibrc.o: win32/zlib1.rc
.PHONY: install uninstall clean

install: zlib.h zconf.h $(STATICLIB) $(IMPLIB)
@if test -z "$(INCLUDE_PATH)" -o -z "$(LIBRARY_PATH)" -o -z "$(BINARY_PATH)"; then \
echo INCLUDE_PATH, LIBRARY_PATH, and BINARY_PATH must be specified; \
exit 1; \
fi
-@mkdir -p $(INCLUDE_PATH)
-@mkdir -p $(LIBRARY_PATH) $(LIBRARY_PATH)/pkgconfig
-if [ "$(SHARED_MODE)" = "1" ]; then \
Expand Down

0 comments on commit 8fbd9f1

Please sign in to comment.