template

a simple template tool for shell scripts
Log | Files | Refs

Makefile (327B)


      1 CFLAGS=-ggdb
      2 SRC=template.c
      3 PREFIX=/usr/local/bin
      4 MANPREFIX=/usr/local/share/man
      5 
      6 all: template 
      7 
      8 template: ${SRC}
      9 	cc ${SRC} -o template ${CFLAGS}
     10 
     11 clean:
     12 	rm template
     13 
     14 install: template
     15 	mkdir -p ${PREFIX}
     16 	mkdir -p ${MANPREFIX}/man1
     17 	cp template ${PREFIX}/
     18 	cp template.1 ${MANPREFIX}/man1/
     19 
     20 uninstall: 
     21 	rm ${DIR}/template