README, Makefile, and license headers
[gph-cmath] / Makefile
1 PREFIX = /usr/local
2
3 .PHONY: all
4 all:
5         @echo 'There is nothing to build. Either type "make install" to install the headers'
6         @echo 'system-wide, or just copy all files under "src" to your project.'
7
8
9 .PHONY: clean
10 clean:
11
12 .PHONY: install
13 install:
14         mkdir -p $(DESTDIR)$(PREFIX)/include/cgmath
15         cp src/*.h src/*.inl $(DESTDIR)$(PREFIX)/include/cgmath
16
17 .PHONY: uninstall
18 uninstall:
19         rm -f $(DESTDIR)$(PREFIX)/include/cgmath/*.h
20         rm -f $(DESTDIR)$(PREFIX)/include/cgmath/*.inl
21         rmdir $(DESTDIR)$(PREFIX)/include/cgmath