phoned/main.mk

14 lines
389 B
Makefile
Raw Normal View History

2005-06-17 23:10:32 -04:00
# $Amigan: phoned/main.mk,v 1.3 2005/06/18 03:10:32 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}
# 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}