8e4736f2df
Change-Id: Id33ac7e973d1c0e249b690fe44a597474fac6076
21 lines
278 B
Makefile
21 lines
278 B
Makefile
# Makefile for the tests
|
|
|
|
CC = exec cc
|
|
CFLAGS = -Wall -I../lib/
|
|
|
|
PROG = shmat01 shmat02 shmat03
|
|
|
|
all: $(PROG)
|
|
|
|
$(PROG): ../libipc.a
|
|
$(CC) $(CFLAGS) -o $@ $@.c ../libipc.a
|
|
|
|
clean:
|
|
rm -f *.o $(PROG)
|
|
|
|
test:
|
|
sh ./test.sh
|
|
|
|
shmat01: shmat01.c
|
|
shmat02: shmat02.c
|
|
shmat03: shmat03.c
|