8e4736f2df
Change-Id: Id33ac7e973d1c0e249b690fe44a597474fac6076
22 lines
317 B
Makefile
22 lines
317 B
Makefile
# Makefile for the tests
|
|
|
|
CC = exec cc
|
|
CFLAGS = -Wall -I../lib/
|
|
|
|
PROG = shmget01 shmget02 shmget04 shmget05
|
|
|
|
all: $(PROG)
|
|
|
|
$(PROG): ../libipc.a
|
|
$(CC) $(CFLAGS) -o $@ $@.c ../libipc.a
|
|
|
|
clean:
|
|
rm -f *.o $(PROG)
|
|
|
|
test:
|
|
sh ./test.sh
|
|
|
|
shmget01: shmget01.c
|
|
shmget02: shmget02.c
|
|
shmget04: shmget04.c
|
|
shmget05: shmget05.c
|