Update Makefile
authornickolas360 <nickolas360@users.noreply.github.com>
Sat, 12 Nov 2016 12:22:04 +0000 (12:22 +0000)
committernickolas360 <nickolas360@users.noreply.github.com>
Sat, 12 Nov 2016 12:22:04 +0000 (12:22 +0000)
Makefile

index 81eac95..455f267 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,10 @@ libmarkov.so: markov.o
        g++ -shared -fPIC -o $@ $<
 
 .PHONY: install
-install: libmarkov.so markov.h
-       cp libmarkov.so /usr/local/lib/
-       cp markov.h /usr/local/include/
+install: /usr/local/lib/libmarkov.so /usr/local/include/markov.h
+
+/usr/local/lib/libmarkov.so: libmarkov.so
+       cp $< $@
+
+/usr/local/include/markov.h: markov.h
+       cp $< $@
This page took 0.022279 seconds and 4 git commands to generate.