We can use specific ourclean target
This commit is contained in:
parent
2d9eff8e76
commit
f4989d6001
4
main.mk
4
main.mk
@ -1,4 +1,4 @@
|
||||
# $Amigan: phoned/main.mk,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $
|
||||
# $Amigan: phoned/main.mk,v 1.3 2005/06/18 03:10:32 dcp1990 Exp $
|
||||
all: .depend ${MAINBIN}
|
||||
# I know, I know, but it's good.
|
||||
.depend: ${SRCS} ${OHDRS}
|
||||
@ -9,5 +9,5 @@ ${MAINBIN}: ${OBJS}
|
||||
%.o: %.c
|
||||
${CC} ${CFLAGS} -c ${.SOURCE}
|
||||
# end ours
|
||||
clean:
|
||||
clean: ourclean
|
||||
rm -f *.o ${MAINBIN} .depend *~ *.core ${CLEANFILES}
|
||||
|
Loading…
Reference in New Issue
Block a user