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
Update README.md
[ctestharness.git]
/
Makefile
blob
a9e84d6c104c1a9f0bc92faf4ce4e916fd2f3552
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
18
19
demo
:
all
20
.
/
harness_demo
21
22
clean
:
23
${
RM
} -
f
${
OBJS
} ${
PROG
}
24
25
.c.o
:
26
$(
CC
) -
c
$(
CFLAGS
) -
o
$
@
$<