File: Makefile

package info (click to toggle)
paexec 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 904 kB
  • sloc: sh: 3,435; ansic: 1,959; makefile: 174; pascal: 19
file content (41 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
BIRTHDATE   =	2008-01-25
PROJECTNAME =	paexec

#####
SUBPRJ      =	paexec:tests paargs presentation doc
SUBPRJ_DFLT?=	paexec paargs

examples    =	divide all_substr cc_wrapper cc_wrapper2 \
		make_package toupper dirtest
.for d in ${examples}
SUBPRJ     +=	examples/${d}:tests examples/${d}:examples
.endfor

tests       =	transp_closed_stdin scripts
.for d in ${tests}
SUBPRJ     +=	tests/${d}:tests
.endfor

#####
MKC_REQD    =	0.27.0

#####
test: all-tests
	@:

clean: clean-tests clean-presentation
cleandir: cleandir-tests  cleandir-presentation

# new recursive target for making a distribution tarball
TARGETS    +=	_prepdist

DIST_TARGETS=	prepdist

.PHONY: prepdist
prepdist: all-presentation _prepdist
	rm ${MKC_CACHEDIR}/_mkc*
	${MAKE} -Cpresentation ${MAKEFILES} _clean_garbage

#####
.include "Makefile.inc"
.include <mkc.subprj.mk>