diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-10-09 11:07:32 +0100 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-10-09 11:07:32 +0100 |
commit | 7d7ef42995aee8c14cdc2b7c93e7f60c85e69f48 (patch) | |
tree | 3da6360fb34c2f33ee54cc10f880cd7e6caafab4 /src/Makefile | |
download | OSCDRP-7d7ef42995aee8c14cdc2b7c93e7f60c85e69f48.tar.gz OSCDRP-7d7ef42995aee8c14cdc2b7c93e7f60c85e69f48.tar.bz2 OSCDRP-7d7ef42995aee8c14cdc2b7c93e7f60c85e69f48.zip |
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..5f5aa6a --- /dev/null +++ b/src/Makefile @@ -0,0 +1,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 |