diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-19 22:44:26 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-19 22:44:26 +0100 |
commit | 98754c3900671f88f30f40eacf9a576adb037fb6 (patch) | |
tree | 53314fa37366d6ff80c17a9cf0fdf1c4d2a33505 /Makefile | |
parent | Fix union of overlapping charset subset ranges (diff) | |
download | libfonts-98754c3900671f88f30f40eacf9a576adb037fb6.tar.gz libfonts-98754c3900671f88f30f40eacf9a576adb037fb6.tar.bz2 libfonts-98754c3900671f88f30f40eacf9a576adb037fb6.tar.xz |
Improve makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -41,6 +41,7 @@ $(LOBJ): $(HDR) libfonts.a: $(OBJ) @rm -f -- $@ $(AR) rc $@ $(OBJ) + $(AR) ts $@ > /dev/null libfonts.$(LIBEXT): $(LOBJ) $(CC) $(LIBFLAGS) -o $@ $(LOBJ) $(LDFLAGS) @@ -50,6 +51,7 @@ install: libfonts.a libfonts.$(LIBEXT) mkdir -p -- "$(DESTDIR)$(PREFIX)/include" cp -- libfonts.a "$(DESTDIR)$(PREFIX)/lib/" cp -- libfonts.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libfonts.$(LIBMINOREXT)" + $(FIX_INSTALL_NAME) "$(DESTDIR)$(PREFIX)/lib/libfonts.$(LIBMINOREXT)" ln -sf -- libfonts.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libfonts.$(LIBMAJOREXT)" ln -sf -- libfonts.$(LIBMAJOREXT) "$(DESTDIR)$(PREFIX)/lib/libfonts.$(LIBEXT)" cp -- libfonts.h "$(DESTDIR)$(PREFIX)/include/" |