minix/test/ipc/shmget/Makefile
Lionel Sambuc 8e4736f2df Removing obsolete _MINIX define
Change-Id: Id33ac7e973d1c0e249b690fe44a597474fac6076
2013-02-26 09:44:20 +00:00

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