Makefile
changeset 109 fd5d91cc2250
parent 94 db3731db9fe5
child 147 c4a0c2203808
     1.1 --- a/Makefile	Tue Apr 23 17:05:17 2019 +0200
     1.2 +++ b/Makefile	Tue Apr 23 17:07:57 2019 +0200
     1.3 @@ -48,19 +48,19 @@
     1.4  	$(COMPILE.cc) $(OUTPUT_OPTION) $<
     1.5  
     1.6  $(TARGET): $(WITHOUT_TESTS)
     1.7 -	ar -rc $@ $^
     1.8 +	$(AR) -rc $@ $^
     1.9  
    1.10  .PHONY: clean
    1.11  clean:
    1.12 -	rm -f $(TARGET) $(OBJECTS) *.a test_adapter test_library lib
    1.13 -	rm -rf test_adapter.dSYM
    1.14 -	rm -rf test_library.dSYM
    1.15 -	rm -rf .gnupg/
    1.16 -	rm -f .pEp_management.db*
    1.17 +	rm -vf $(TARGET) $(OBJECTS) *.a test_adapter test_library lib
    1.18 +	rm -rvf test_adapter.dSYM
    1.19 +	rm -rvf test_library.dSYM
    1.20 +	rm -rvf .gnupg/
    1.21 +	rm -vf .pEp_management.db*
    1.22  
    1.23  .PHONY: distclean
    1.24  distclean: clean
    1.25 -	rm -Rf .gnupg .pEp_management*
    1.26 +	rm -Rvf .gnupg .pEp_management*
    1.27  
    1.28  # $$(pwd) will return the incorrect directory, if make is run with `make -C ...`.
    1.29  .PHONY: test
    1.30 @@ -71,12 +71,12 @@
    1.31  
    1.32  .PHONY: install
    1.33  install: $(TARGET)
    1.34 -	-mkdir -p $(PREFIX)/include/pEp
    1.35 -	-mkdir -p $(PREFIX)/lib
    1.36 -	cp $(HEADERS) $(PREFIX)/include/pEp/
    1.37 -	cp $(TARGET) $(PREFIX)/lib/
    1.38 +	mkdir -p $(PREFIX)/include/pEp
    1.39 +	mkdir -p $(PREFIX)/lib
    1.40 +	cp -v $(HEADERS) $(PREFIX)/include/pEp/
    1.41 +	cp -v $(TARGET) $(PREFIX)/lib/
    1.42  
    1.43  .PHONY: uninstall
    1.44  uninstall:
    1.45 -	cd $(PREFIX)/include/pEp && rm -f $(HEADERS)
    1.46 -	cd $(PREFIX)/lib && rm -f $(TARGET)
    1.47 +	cd $(PREFIX)/include/pEp && rm -vf $(HEADERS)
    1.48 +	cd $(PREFIX)/lib && rm -vf $(TARGET)