diff options
author | Mattias Andrée <maandree@kth.se> | 2022-07-21 18:11:44 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-07-21 18:11:44 +0200 |
commit | 1fdaa473e0b54d2d8819da0a477dbaeed913e76f (patch) | |
tree | 1a7476ada7525420ac2542187aa8a95036fc63f1 /Makefile | |
parent | Change license, improve makefile, remove dist/ (diff) | |
download | libgammamm-1.0.2.tar.gz libgammamm-1.0.2.tar.bz2 libgammamm-1.0.2.tar.xz |
Change style1.0.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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: |