add install target for libaltos
[fw/altos] / ao-tools / libaltos / Makefile
index 9933dc805eb185d969ad54a95fb5d11aa2d30eda..cd96fd5fae29f52b8feae98bb3f13724c80a6dd4 100644 (file)
@@ -1,8 +1,5 @@
 OS:=$(shell uname)
 
-# dummy install target for now so I can work on the rest of the packaging
-install:
-       @echo warning - make install doing nothing in libaltos!
 #
 # Linux
 #
@@ -17,6 +14,9 @@ OS_LDFLAGS=
 LIBNAME=libaltos.so
 EXEEXT=
 
+install:       $(LIBNAME)
+       /usr/bin/install -c $(LIBNAME) $(DESTDIR)/usr/lib/altos/$(LIBNAME)
+
 endif
 
 #