From 1fdaa473e0b54d2d8819da0a477dbaeed913e76f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 21 Jul 2022 18:11:44 +0200 Subject: Change style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index db413a0..e7e588d 100644 --- a/Makefile +++ b/Makefile @@ -13,11 +13,14 @@ LIB_VERSION = $(LIB_MAJOR).$(LIB_MINOR) LIB_NAME = gammamm -HDR =\ +LIBHDR =\ libgamma.hh\ libgamma-error.hh\ libgamma-facade.hh\ - libgamma-method.hh\ + libgamma-method.hh + +HDR =\ + $(LIBHDR)\ libgamma-native.hh OBJ =\ @@ -31,7 +34,7 @@ LOBJ = $(OBJ:.o=.lo) all: libgammamm.a libgammamm.$(LIBEXT) $(OBJ): $(HDR) $(LOBJ): $(HDR) -test.o: test.cc $(HDR) +test.o: test.cc $(LIBHDR) libgammamm.a: $(OBJ) @rm -f -- $@ @@ -59,7 +62,7 @@ install: libgammamm.a libgammamm.$(LIBEXT) $(FIX_INSTALL_NAME) "$(DESTDIR)$(PREFIX)/lib/libgammamm.$(LIBMINOREXT)" ln -sf -- libgammamm.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libgammamm.$(LIBMAJOREXT)" ln -sf -- libgammamm.$(LIBMAJOREXT) "$(DESTDIR)$(PREFIX)/lib/libgammamm.$(LIBEXT)" - cp -- $(HDR) "$(DESTDIR)$(PREFIX)/include/" + cp -- $(LIBHDR) "$(DESTDIR)$(PREFIX)/include/" uninstall: mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" @@ -68,7 +71,7 @@ uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libgammamm.$(LIBMINOREXT)" -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libgammamm.$(LIBMAJOREXT)" -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libgammamm.$(LIBEXT)" - -cd "$(DESTDIR)$(PREFIX)/include/" && rm -f -- $(HDR) + -cd "$(DESTDIR)$(PREFIX)/include/" && rm -f -- $(LIBHDR) -rm -- "$(DESTDIR)$(PKGCONFIGDIR)/libgammamm.pc" run-test: -- cgit v1.2.3-70-g09d2