-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
35 lines (26 loc) · 649 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
33
34
35
#CC=clang
CFLAGS=-Wall -Wextra -pedantic -std=c89
CFLAGS+=-ggdb3
#JackOSX
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
CFLAGS+=`pkg-config --cflags jack` -I. -Iconfiguration
LIBS+=`pkg-config --libs jack` -lm
SRC+=configuration/routing.c
SRC+=configuration/json.c
SRC+=configuration/hash.c
SRC+=configuration/cJSON.c
SRC+=processing/misc.c
SRC+=processing/oscillators.c
SRC+=processing/tools.c
SRC+=processing/effects.c
SRC+=processing/voices.c
SRC+=processing/compute.c
SRC+=misc.c
SRC+=getmopt.c
SRC+=jack.c
SRC+=main.c
OBJS=$(SRC:.c=.o)
popcorn: $(OBJS)
$(CC) $(CLFAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
clean:
rm -f $(OBJS) popcorn