-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
32 lines (26 loc) · 623 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.POSIX:
########################################
# POSIX
########################################
CC = c99
CFLAGS = -O1
#DEBUG = -O0 -g
########################################
# gcc
########################################
#CC = gcc
#CFLAGS = -O1 -std=c99 -Wall -Wextra
#DEBUG = -O0 -g
########################################
# PathScale
########################################
#CC = pathcc
#CFLAGS = -O1 -std=c99 -fullwarn
#DEBUG = -O0 -g2
bin/ipcmd: src/ipcmd.c
$(CC) $(CFLAGS) $(DEBUG) -o $@ $?
check:
PATH=bin:$$PATH sh test/semaphores.sh
PATH=bin:$$PATH sh test/message_queues.sh
clean:
rm -f bin/ipcmd