Makefile
changeset 46 21d3eb44f56a
parent 37 d05ba048cb2d
child 47 f9160007d2d7
equal deleted inserted replaced
45:9d35ca12c867 46:21d3eb44f56a
    11 	gcc -o ker-on -DUNITTEST -g ker-on.c $(LIBS)
    11 	gcc -o ker-on -DUNITTEST -g ker-on.c $(LIBS)
    12 
    12 
    13 ker-off: ker-on.c 
    13 ker-off: ker-on.c 
    14 	gcc -o ker-off -DUNITTEST -g ker-off.c $(LIBS)
    14 	gcc -o ker-off -DUNITTEST -g ker-off.c $(LIBS)
    15 
    15 
       
    16 install: install-scripts install-ker
       
    17 
       
    18 install-scripts: sleeprtc.sh stbylong.sh stbyshort.sh stopproc.sh 
       
    19 	install sleeprtc.sh stbylong.sh stbyshort.sh stopproc.sh  /etc/
       
    20 
       
    21 install-ker: ker-on ker-off
       
    22 	install ker-on ker-off /usr/sbin/
       
    23 	
    16 
    24 
    17 
    25 
    18 stateManager.o : handlers.h
    26 stateManager.o : handlers.h
    19 pbmd.o : stateManager.h
    27 pbmd.o : stateManager.h
    20 dutycycle.o : dutycycle.h
    28 dutycycle.o : dutycycle.h