phoned/main.mk

16 lines
424 B
Makefile
Raw Normal View History

2005-06-18 16:18:56 -04:00
# $Amigan: phoned/main.mk,v 1.4 2005/06/18 20:18:56 dcp1990 Exp $
2005-05-31 20:37:22 -04:00
all: .depend ${MAINBIN}
# I know, I know, but it's good.
.depend: ${SRCS} ${OHDRS}
mkdep ${CPPFLAGS} -MM -p ${SRCS}
${MAINBIN}: ${OBJS}
${CC} ${CFLAGS} ${LDFLAGS} -o ${MAINBIN} ${OBJS}
# for this app
%.o: %.c
${CC} ${CFLAGS} -c ${.SOURCE}
2005-06-18 16:18:56 -04:00
lint:
lint ${CPPFLAGS} -s ${SRCS}
2005-05-31 20:37:22 -04:00
# end ours
2005-06-17 23:10:32 -04:00
clean: ourclean
2005-05-31 20:37:22 -04:00
rm -f *.o ${MAINBIN} .depend *~ *.core ${CLEANFILES}