2005-06-18 16:22:07 -04:00
|
|
|
# $Amigan: phoned/main.mk,v 1.5 2005/06/18 20:22:07 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:
|
2005-06-18 16:22:07 -04:00
|
|
|
lint ${CPPFLAGS} -pces ${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}
|