Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Rename lib target
  • Loading branch information
falkTX committed Apr 12, 2017
1 parent b4f2fc0 commit 4457966
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Expand Up @@ -74,7 +74,7 @@ LIBDIR = $(PREFIX)/lib

# ----------------------------------------------------------------------------------------------------------------------------

all: build/hylia.a build/hylia.pc
all: build/libhylia.a build/hylia.pc

# ----------------------------------------------------------------------------------------------------------------------------

Expand All @@ -91,18 +91,18 @@ install: all
install -d $(DESTDIR)$(LIBDIR)/pkgconfig

install -m 644 hylia.h $(DESTDIR)$(INCDIR)
install -m 644 build/hylia.a $(DESTDIR)$(LIBDIR)
install -m 644 build/libhylia.a $(DESTDIR)$(LIBDIR)
install -m 644 build/hylia.pc $(DESTDIR)$(LIBDIR)/pkgconfig

uninstall:
rm -f $(DESTDIR)$(INCDIR)/hylia.h
rm -f $(DESTDIR)$(LIBDIR)/hylia.a
rm -f $(DESTDIR)$(LIBDIR)/libhylia.a
rm -f $(DESTDIR)$(LIBDIR)/pkgconfig/hylia.pc

# ----------------------------------------------------------------------------------------------------------------------------

build/hylia.a: $(OBJS)
@echo "Creating hylia.a"
build/libhylia.a: $(OBJS)
@echo "Creating libhylia.a"
@rm -f $@
@$(AR) crs $@ $^

Expand Down

0 comments on commit 4457966

Please sign in to comment.