|
|
@ -154,10 +154,13 @@ install:
|
|
|
|
install -m 644 $(wildcard $(INCLUDE)/*.*) $(DESTDIR)$(PREFIX)/include/
|
|
|
|
install -m 644 $(wildcard $(INCLUDE)/*.*) $(DESTDIR)$(PREFIX)/include/
|
|
|
|
install -d $(DESTDIR)$(PREFIX)/include/$(PROJECT)/
|
|
|
|
install -d $(DESTDIR)$(PREFIX)/include/$(PROJECT)/
|
|
|
|
install -m 644 $(wildcard $(INCLUDE)/$(PROJECT)/*.*) $(DESTDIR)$(PREFIX)/include/$(PROJECT)/
|
|
|
|
install -m 644 $(wildcard $(INCLUDE)/$(PROJECT)/*.*) $(DESTDIR)$(PREFIX)/include/$(PROJECT)/
|
|
|
|
|
|
|
|
install -d $(DESTDIR)$(PREFIX)/include/$(PROJECT)/internal
|
|
|
|
|
|
|
|
install -m 644 $(wildcard $(INCLUDE)/$(PROJECT)/internal/*.*) $(DESTDIR)$(PREFIX)/include/$(PROJECT)/internal
|
|
|
|
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
uninstall:
|
|
|
|
-rm $(DESTDIR)$(PREFIX)/lib/lib$(PROJECT).{a,so{,.*}}
|
|
|
|
-rm $(DESTDIR)$(PREFIX)/lib/lib$(PROJECT).{a,so{,.*}}
|
|
|
|
cd $(INCLUDE) && find . -type f | xargs -I {} rm "$(DESTDIR)$(PREFIX)/include/{}"
|
|
|
|
cd $(INCLUDE) && find . -type f | xargs -I {} rm "$(DESTDIR)$(PREFIX)/include/{}"
|
|
|
|
|
|
|
|
-rmdir $(DESTDIR)$(PREFIX)/include/$(PROJECT)/internal
|
|
|
|
-rmdir $(DESTDIR)$(PREFIX)/include/$(PROJECT)
|
|
|
|
-rmdir $(DESTDIR)$(PREFIX)/include/$(PROJECT)
|
|
|
|
|
|
|
|
|
|
|
|
$(PROJECT)-test: lib$(PROJECT).so
|
|
|
|
$(PROJECT)-test: lib$(PROJECT).so
|
|
|
|