ObjFW  Check-in [88bad9ba54]

Overview
Comment:Delete .deps on make distclean.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 88bad9ba54611656ca797f209571e5e0ed968a4c362871e9395a17b66a9880b5
User & Date: js on 2008-11-01 20:29:12
Other Links: manifest | tags
Context
2008-11-01
20:40
Clear .SUFFIXES first to prevent compiling files silently. check-in: 11473ee1ab user: js tags: trunk
20:29
Delete .deps on make distclean. check-in: 88bad9ba54 user: js tags: trunk
20:16
Fix bug I didn't notice thanks to gcc 4.2. check-in: 2d936d7aa7 user: js tags: trunk
Changes

Modified buildsys.mk.in from [748010db8f] to [041700e596].

119
120
121
122
123
124
125
126

127
128
129
130
131

132
133
134
135
136
137
138
119
120
121
122
123
124
125

126
127
128
129
130

131
132
133
134
135
136
137
138







-
+




-
+







				deps="$$deps $${i%.m}.dep"; \
				;; \
		esac; \
	done; \
	if test x"$$regen" = x"1" -a x"$$deps" != "x"; then \
		${DEPEND_STATUS}; \
		if ${MAKE} ${MFLAGS} $$deps; then \
			rm -f .deps; \
			test -f .deps && rm .deps; \
			cat $$deps >.deps; \
			rm -f $$deps; \
			${DEPEND_OK}; \
		else \
			rm -f .deps $$deps; \
			:> $$deps; \
			${DEPEND_FAILED}; \
		fi; \
	fi

.c.dep .cc.dep .cxx.dep .m.dep:
	${CPP} ${CPPFLAGS} -M $< >$@

411
412
413
414
415
416
417
418

419
420
421
422
423
424
425
411
412
413
414
415
416
417

418
419
420
421
422
423
424
425







-
+







distclean: clean
	for i in ${SUBDIRS}; do \
		${DIR_ENTER}; \
		${MAKE} ${MFLAGS} distclean || exit 1; \
		${DIR_LEAVE}; \
	done
	
	for i in ${PROG} ${PROG_NOINST} ${LIB} ${LIB_NOINST} ${STATIC_LIB} ${STATIC_LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${DISTCLEAN} *~; do \
	for i in ${PROG} ${PROG_NOINST} ${LIB} ${LIB_NOINST} ${STATIC_LIB} ${STATIC_LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${DISTCLEAN} .deps *~; do \
		if test -f $$i -o -d $$i; then \
			if rm -fr $$i; then \
				${DELETE_OK}; \
			else \
				${DELETE_FAILED}; \
			fi \
		fi \