repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
sort: add -x hex sort feature back
[minix.git]
/
test
/
ipc
/
semctl
/
Makefile
blob
52e639b4a7d9bb1f9f439ad9c81a380fb3f26135
1
# Makefile for the tests
2
3
CC
=
exec
cc
4
CFLAGS
= -
Wall
-
D_MINIX
-
D_POSIX_SOURCE
-
D_NETBSD_SOURCE
=
1
-
I..
/
lib
/
5
6
PROG
=
semctl01 semctl02 semctl03 semctl04 semctl05 semctl06 semctl07
7
8
all
: $(
PROG
)
9
10
$(
PROG
):
..
/
libipc.a
11
$(
CC
) $(
CFLAGS
) -
o
$
@
$
@.c ..
/
libipc.a
12
13
clean
:
14
rm
-
f
*
.o
$(
PROG
)
15
16
test
:
17
sh .
/
test
.sh
18
19
semctl01
:
semctl01.c
20
semctl02
:
semctl02.c
21
semctl03
:
semctl03.c
22
semctl04
:
semctl04.c
23
semctl05
:
semctl05.c
24
semctl06
:
semctl06.c
25
semctl07
:
semctl07.c
26