make install part 1
[melted] / src / inigo / Makefile
index 6fac85d..0b67a31 100644 (file)
@@ -1,3 +1,5 @@
+include ../../config.mak
+
 TARGET = inigo
 
 OBJS = inigo.o \
@@ -28,6 +30,10 @@ dist-clean:  clean
 clean: 
                rm -f $(OBJS) $(TARGET)
 
+install:       all
+       install -d "$(bindir)"
+       install -c -s -m 755 $(TARGET) "$(bindir)"
+
 ifneq ($(wildcard .depend),)
 include .depend
 endif