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
remove extra mkfs.1
[minix.git]
/
test
/
ipc
/
shmat
/
Makefile
blob
0a6c9fddd1ec8ec0dd455a3b8bc5c45461a933f1
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
=
shmat01 shmat02 shmat03
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
shmat01
:
shmat01.c
20
shmat02
:
shmat02.c
21
shmat03
:
shmat03.c