2009-09-21 16:53:53 +02:00
|
|
|
# Makefile for the tests
|
|
|
|
|
|
|
|
CC = exec cc
|
2012-09-08 17:25:00 +02:00
|
|
|
CFLAGS = -Wall -D_MINIX -D_POSIX_SOURCE -D_NETBSD_SOURCE=1 -I../lib/
|
2009-09-21 16:53:53 +02:00
|
|
|
|
|
|
|
PROG = shmt02 shmt03 shmt04 shmt05 shmt06 \
|
|
|
|
shmt07 shmt08 shmt10 shmt01
|
|
|
|
|
|
|
|
all: $(PROG)
|
|
|
|
|
2012-09-08 17:25:00 +02:00
|
|
|
$(PROG): ../libipc.a
|
|
|
|
$(CC) $(CFLAGS) -o $@ $@.c ../libipc.a
|
2009-09-21 16:53:53 +02:00
|
|
|
|
|
|
|
test:
|
|
|
|
sh testshm.sh
|
|
|
|
|
|
|
|
clean:
|
2010-05-12 18:28:54 +02:00
|
|
|
rm -f *.o $(PROG)
|
2009-09-21 16:53:53 +02:00
|
|
|
|
|
|
|
shmt01: shmt01.c
|
|
|
|
shmt02: shmt02.c
|
|
|
|
shmt03: shmt03.c
|
|
|
|
shmt04: shmt04.c
|
|
|
|
shmt05: shmt05.c
|
|
|
|
shmt06: shmt06.c
|
|
|
|
shmt07: shmt07.c
|
|
|
|
shmt08: shmt08.c
|
|
|
|
shmt10: shmt10.c
|