8e4736f2df
Change-Id: Id33ac7e973d1c0e249b690fe44a597474fac6076
24 lines
333 B
Makefile
24 lines
333 B
Makefile
# Makefile for the tests
|
|
|
|
CC = exec cc
|
|
CFLAGS = -Wall -I../lib/
|
|
|
|
PROG = semop01 semop02 semop03 semop04 semop05
|
|
|
|
all: $(PROG)
|
|
|
|
$(PROG): ../libipc.a
|
|
$(CC) $(CFLAGS) -o $@ $@.c ../libipc.a
|
|
|
|
clean:
|
|
rm -f *.o $(PROG)
|
|
|
|
test:
|
|
sh ./test.sh
|
|
|
|
semop01: semop01.c
|
|
semop02: semop02.c
|
|
semop03: semop03.c
|
|
semop04: semop04.c
|
|
semop05: semop05.c
|
|
|