repo.or.cz
/
ctestharness.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add function for adding an entire suite at once
[ctestharness.git]
/
Makefile
blob
f11f783e5aa604cd8363ad79677d5d5ea8a88af9
1
.POSIX
:
2
3
.PHONY
:
all
demo
clean
4
5
include
config.mk
6
7
SRCS
!=
echo src
/*
.c
8
OBJS
= ${
SRCS
:
.c
=
.o
}
9
10
all
: ${
PROG
}
11
12
${
PROG
}: ${
OBJS
}
13
${
CC
} ${
LDFLAGS
} -
o
$
@
${
OBJS
} ${
LDLIBS
}
14
15
${
PROG
}
.o
: ${
PROG
}
.c harness.h
16
17
harness.o
:
harness.c harness.h timeval_math.h
18
19
timeval_math.o
:
timeval_math.c timeval_math.h
20
21
demo
:
all
22
.
/
harness_demo
23
24
clean
:
25
${
RM
} -
f
${
OBJS
} ${
PROG
}
26
27
.c.o
:
28
$(
CC
) -
c
$(
CFLAGS
) -
o
$
@
$<