File: makefile.targets

package info (click to toggle)
libcleri 0.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 604 kB
  • sloc: ansic: 4,202; makefile: 53; sh: 40
file content (17 lines) | stat: -rw-r--r-- 553 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.PHONY: install
install:
	@mkdir $(INSTALL_PATH)/include/cleri
	@cp ../inc/cleri/*.h $(INSTALL_PATH)/include/cleri/
	@cp $(FN) $(INSTALL_PATH)/lib/$(FN).$(VERSION)
	@ln -s $(INSTALL_PATH)/lib/$(FN).$(VERSION) $(INSTALL_PATH)/lib/$(FN).$(MAJOR)
	@ln -s $(INSTALL_PATH)/lib/$(FN).$(VERSION) $(INSTALL_PATH)/lib/$(FN)


.PHONY: uninstall
uninstall:
	@rm -f $(INSTALL_PATH)/include/cleri/*.h
	@rm -r -f $(INSTALL_PATH)/include/cleri/
	@rm -f $(INSTALL_PATH)/lib/$(FN)
	@rm -f $(INSTALL_PATH)/lib/$(FN).$(MAJOR)
	@rm -f $(INSTALL_PATH)/lib/$(FN).$(VERSION)