Makefile (425B)
1 cc = ${CC} 2 cflags = ${CFLAGS} -I/usr/X11R6/include 3 ldflags = ${LDFLAGS} -L/usr/X11R6/lib -lX11 4 5 .c.o: 6 ${cc} ${cflags} -c -o $@ $< 7 8 storename: storename.o 9 ${cc} ${ldflags} -o $@ storename.o 10 11 install: storename 12 cp storename ${prefix}/bin 13 cp storename.1 ${prefix}/man/man1 14 15 uninstall: 16 rm -f ${prefix}/bin/storename 17 rm -f ${prefix}/man/man1/storename.1 18 19 clean: 20 rm -f storename storename.o 21 22 .PHONY: install uninstall clean