# Makefile for snx101shot # PREFIX ?= /usr/local BINDIR ?= ${PREFIX}/bin MANDIR ?= ${PREFIX}/man PROG = snx101shot SRCS = snx101shot.c sonix.c sonixinit.c MAN = ${PROG}.1 MAN1 = ${PROG}.1 CFLAGS += -Wall LDFLAGS += -Wall SNX_HEADER = sonix.h sonixinit.h snx101shot.o: snx101shot.c ${SNX_HEADER} sonix.o: sonix.c ${SNX_HEADER} sonixinit.o: sonixinit.c ${SNX_HEADER} clean: cleanprog rm -f *~ *.orig ${PROG}.cat1 .include