8e4736f2df
Change-Id: Id33ac7e973d1c0e249b690fe44a597474fac6076
23 lines
347 B
Makefile
23 lines
347 B
Makefile
# Makefile for the tests
|
|
|
|
CC = exec cc
|
|
CFLAGS = -Wall -I../lib/
|
|
|
|
PROG = semget01 semget02 semget03 semget05 semget06
|
|
|
|
all: $(PROG)
|
|
|
|
$(PROG): ../libipc.a
|
|
$(CC) $(CFLAGS) -o $@ $@.c ../libipc.a
|
|
|
|
clean:
|
|
rm -f *.o $(PROG)
|
|
|
|
test:
|
|
sh ./test.sh
|
|
|
|
semget01: semget01.c
|
|
semget02: semget02.c
|
|
semget03: semget03.c
|
|
semget05: semget05.c
|
|
semget06: semget06.c
|