about summary refs log blame commit diff
path: root/src/Makefile
blob: 5f5aa6ae4f81dcb4ddacc18e08e8cc1f2ee124b0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                  
CC=clang
INC_DIRS="."
CFLAGS=-std=c99 -g -Wall -Werror -O2 -I$(INC_DIRS)
LDFLAGS=-lpthread
OBJS=protocol.o \
     utils.o 		

all: oscdrp

%.o: %.c
	$(CC) $(CFLAGS) -c $^

oscdrp: main.c $(OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^

clean:
	rm $(OBJS) oscdrp