blob: 3a4e041bb8a525ddee5c76bcb3eb0f3e05014390 (
plain)
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
|
--- a/src/makefile
+++ b/src/makefile
@@ -90,15 +90,15 @@ win32:
########################### COMPILATION TOOLS #################################
# lexer
-LEX=flex
+LEX?=flex
# parser
-YACC=bison
+YACC?=bison
# c compiler
-CC=gcc
+CC?=gcc
# c++ compiler
-CXX=g++
+CXX?=g++
# linker
-LD=$(CXX)
+LD?=$(CXX)
############################# COMPILER FLAGS ##################################
@@ -113,8 +113,6 @@ endif
# enable chuck debug macros?
ifneq ($(CHUCK_DEBUG),)
CFLAGS+= -g -D__CHUCK_DEBUG__
-else
-CFLAGS+= -O3
endif
# use 64-bit audio samples?
|