X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=gph-cmath;a=blobdiff_plain;f=Makefile;fp=Makefile;h=487f73285ccba05327656414820efd57e8681f58;hp=0000000000000000000000000000000000000000;hb=c5a2f08ca01ec6f3b8f6974634c6adad72b61fa8;hpb=196060ca2d5a16d66d59b6912ea201bfb345f3fa;ds=sidebyside diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..487f732 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +PREFIX = /usr/local + +.PHONY: all +all: + @echo 'There is nothing to build. Either type "make install" to install the headers' + @echo 'system-wide, or just copy all files under "src" to your project.' + + +.PHONY: clean +clean: + +.PHONY: install +install: + mkdir -p $(DESTDIR)$(PREFIX)/include/cgmath + cp src/*.h src/*.inl $(DESTDIR)$(PREFIX)/include/cgmath + +.PHONY: uninstall +uninstall: + rm -f $(DESTDIR)$(PREFIX)/include/cgmath/*.h + rm -f $(DESTDIR)$(PREFIX)/include/cgmath/*.inl + rmdir $(DESTDIR)$(PREFIX)/include/cgmath