comparison Makefile @ 249:9142c859e636

Force c99 mode
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 15 Jun 2017 10:21:55 +0100
parents b32c68f08ec0
children 0701519bb35b
comparison
equal deleted inserted replaced
248:cb51adadccd5 249:9142c859e636
4 4
5 INCFLAGS := -Iext -Iext/sord -Iext/serd -I$(VAMPSDK_DIR) -I. -I/usr/local/include 5 INCFLAGS := -Iext -Iext/sord -Iext/serd -I$(VAMPSDK_DIR) -I. -I/usr/local/include
6 6
7 OPTFLAGS := -O3 7 OPTFLAGS := -O3
8 8
9 CFLAGS := -Wall $(OPTFLAGS) $(INCFLAGS) 9 CFLAGS := -Wall -std=c99 $(OPTFLAGS) $(INCFLAGS)
10 CXXFLAGS := -Wall -Wextra -Werror -Wno-error=unused-parameter -std=c++11 $(OPTFLAGS) $(INCFLAGS) 10 CXXFLAGS := -Wall -Wextra -Werror -Wno-error=unused-parameter -std=c++11 $(OPTFLAGS) $(INCFLAGS)
11 11
12 LDFLAGS := -L$(VAMPSDK_DIR) -L/usr/local/lib -lvamp-hostsdk -lcapnp -lkj 12 LDFLAGS := -L$(VAMPSDK_DIR) -L/usr/local/lib -lvamp-hostsdk -lcapnp -lkj
13 13
14 LDFLAGS += -ldl 14 LDFLAGS += -ldl
44 test: all 44 test: all
45 bin/test-suite -s -d yes 45 bin/test-suite -s -d yes
46 vamp-server/test.sh 46 vamp-server/test.sh
47 47
48 clean: 48 clean:
49 rm -f */*.o 49 rm -f */*.o */*/*.o
50 50
51 distclean: clean 51 distclean: clean
52 rm -rf bin/* 52 rm -rf bin/*
53 53
54 depend: 54 depend: