add install/uninstall rules in Makefile.in
authorgreg
Mon, 27 Jul 2009 09:18:04 +0200
changeset 578 eb67d9aa714f
parent 577 0bb82be64630
child 579 3126da40d469
add install/uninstall rules in Makefile.in
examples/CANOpenShell/Makefile.in
--- a/examples/CANOpenShell/Makefile.in	Mon Jul 20 16:11:20 2009 +0200
+++ b/examples/CANOpenShell/Makefile.in	Mon Jul 27 09:18:04 2009 +0200
@@ -86,3 +86,9 @@
 	rm -f CANOpenShellMasterOD.c
 	rm -f CANOpenShellSlaveOD.c
 
+install: $(CANOPENSHELL)
+	mkdir -p $(PREFIX)/bin/
+	cp $< $(PREFIX)/bin/
+	
+uninstall:
+	rm -f $(PREFIX)/bin/$(CANOPENSHELL)
\ No newline at end of file