You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
241 B

DESTDIR=/usr
PREFIX=/local
cat: cat.c
$(CC) cat.c -o ctct -pedantic
clean:
rm ./ctct
install: cat
mkdir -p ${DESTDIR}${PREFIX}/bin
install -o root -m 4555 ctct ${DESTDIR}${PREFIX}/bin/ctct
uninstall:
rm ${DESTDIR}${PREFIX}/bin/ctct