2009-09-21 16:53:53 +02:00
|
|
|
# Makefile for the tests
|
|
|
|
|
|
|
|
CC = exec cc
|
2013-02-25 12:43:15 +01:00
|
|
|
CFLAGS = -Wall -I../lib/
|
2009-09-21 16:53:53 +02:00
|
|
|
|
|
|
|
PROG = semctl01 semctl02 semctl03 semctl04 semctl05 semctl06 semctl07
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
clean:
|
2010-05-12 18:28:54 +02:00
|
|
|
rm -f *.o $(PROG)
|
2009-09-21 16:53:53 +02:00
|
|
|
|
|
|
|
test:
|
|
|
|
sh ./test.sh
|
|
|
|
|
|
|
|
semctl01: semctl01.c
|
|
|
|
semctl02: semctl02.c
|
|
|
|
semctl03: semctl03.c
|
|
|
|
semctl04: semctl04.c
|
|
|
|
semctl05: semctl05.c
|
|
|
|
semctl06: semctl06.c
|
|
|
|
semctl07: semctl07.c
|
|
|
|
|