- cleaned up unused library functions for codemux
[codemux.git] / Makefile
index 480c997..20ca160 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 CC = gcc
-CFLAGS = -Wall -O -g
+CFLAGS = -Wall -O 
 
 TARGS = codemux
 
@@ -8,9 +8,13 @@ all: ${TARGS}
 clean:
        rm -f ${TARGS} *.o *~
 
-SHARED_OBJ = applib.o gettimeofdayex.o
+SHARED_OBJ = codemuxlib.o
 
 CODEMUX_OBJ = codemux.o ${SHARED_OBJ}
 
 codemux: ${CODEMUX_OBJ}
 
+install:
+       install -D -m 0755 -o root -g root codemux.initscript $(INSTALL_ROOT)/etc/rc.d/init.d/codemux
+       install -D -m 0644 -o root -g root codemux.conf $(INSTALL_ROOT)/etc/codemux/codemux.conf
+       install -D -m 0755 -o root -g root codemux $(INSTALL_ROOT)/usr/local/planetlab/sbin/codemux