From: Andre Noll Date: Wed, 23 May 2012 17:21:17 +0000 (+0200) Subject: Add shared target. X-Git-Tag: v0.1.2~2 X-Git-Url: http://git.tuebingen.mpg.de/?p=osl.git;a=commitdiff_plain;h=777af7b3d434f139dbc53d2b7dfa957dfa7d5880 Add shared target. This allows to build and install the shared library and the oslfsck executable on systems without help2man via make shared oslfsck sudo make install-lib install-bin --- diff --git a/Makefile b/Makefile index 967b00d..bd2c109 100644 --- a/Makefile +++ b/Makefile @@ -111,6 +111,8 @@ ifeq ($(format),elf) endif all: $(realname) $(executables) $(man_pages) +shared: $(realname) + Makefile.deps: $(wildcard *.c *.h) $(CC) -MM -MG *.c > $@ osl.c fsck.c: @@ -194,7 +196,7 @@ install-lib: $(realname) $(headers) install: all install-bin install-man install-lib -.PHONY: all clean install install-bin install-man install-lib +.PHONY: all shared clean install install-bin install-man install-lib web/%.1.html: %.1 man2html $< > $@