minix/test/ipc/shmctl/Makefile

23 lines
361 B
Makefile
Raw Normal View History

2009-09-21 16:53:53 +02:00
# Makefile for the tests
CC = exec cc
CFLAGS = -Wall -D_MINIX -D_POSIX_SOURCE -D_NETBSD_SOURCE=1 -I../lib/
2009-09-21 16:53:53 +02:00
PROG = shmctl01 shmctl02 shmctl03 shmctl04
all: $(PROG)
$(PROG): ../libipc.a
$(CC) $(CFLAGS) -o $@ $@.c ../libipc.a
2009-09-21 16:53:53 +02:00
clean:
rm -f *.o $(PROG)
2009-09-21 16:53:53 +02:00
test:
sh ./test.sh
shmctl01: shmctl01.c
shmctl02: shmctl02.c
shmctl03: shmctl03.c
shmctl04: shmctl04.c