File: Makefile

package info (click to toggle)
libmaa 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,008 kB
  • sloc: ansic: 6,384; perl: 235; makefile: 176; awk: 92; sh: 23
file content (29 lines) | stat: -rw-r--r-- 839 bytes parent folder | download
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
##################################################

PROJECTNAME =	libmaa

tests     =	arg base basics bit debug hash list log memstr memobj \
		prime pr prm set sl string stack err

.for d in ${tests}
LIBDEPS   +=	maa:tests/${d}      # all tests depend on maa library
SUBPRJ    +=	tests/${d}:test     # target "test" is for tests/*
test-tests/${d}: all-tests/${d}     # new inter-target dependency
.endfor

SUBPRJ    +=	doc

SUBPRJ_DFLT = maa test

NODEPS    +=	install-tests/*:*     # do not install tests
NODEPS    +=	all-tests/*:*         # do not build tests by default
NODEPS    +=	test-doc:* test-maa:* # nothing to test in doc/ and maa/

##################################################

MKC_REQD  =	0.34.0

##################################################
.include "help.mk"
.include "Makefile.common"
.include <mkc.subprj.mk>