Skip to content

Commit

Permalink
imporve Makefile install (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugy718 authored Aug 2, 2022
1 parent fa8aace commit da60b0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ generate:
npx ts-node bin/generate.ts

install: build/libllhttp.a build/libllhttp.so
$(INSTALL) build/llhttp.h $(DESTDIR)$(INCLUDEDIR)/llhttp.h
$(INSTALL) build/libllhttp.a $(DESTDIR)$(LIBDIR)/libllhttp.a
$(INSTALL) -d $(DESTDIR)$(INCLUDEDIR)
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
$(INSTALL) -C build/llhttp.h $(DESTDIR)$(INCLUDEDIR)/llhttp.h
$(INSTALL) -C build/libllhttp.a $(DESTDIR)$(LIBDIR)/libllhttp.a
$(INSTALL) build/libllhttp.so $(DESTDIR)$(LIBDIR)/libllhttp.so

.PHONY: all generate clean release

0 comments on commit da60b0b

Please sign in to comment.