diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 1a3aed4..1ef958b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -186,8 +186,12 @@ fbi: $(OBJS_FBI) $(OBJS_READER) ######################################################################## # general rules -.PHONY: build install clean distclean realclean -build: $(TARGETS) +.PHONY: check-libjpeg build install clean distclean realclean +build: check-libjpeg $(TARGETS) + +check-libjpeg: + @test -d jpeg/$(JPEG_VER) || \ + ( echo "Need files from libjpeg $(JPEG_VER) in jpeg/"; false) install: build $(INSTALL_DIR) $(bindir) |