summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index f8b0aaf..17b646f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -4,9 +4,9 @@ CC=gcc
#LDFLAGS=-Werror -g
# For release
-CFLAGS=-W -Wall -Werror -Wno-error=unused-parameter -O2
-LDFLAGS=-Werror
-EXEC=music2light
+CFLAGS=-W -Wall -Werror -Wno-unused-parameter -O2
+LDFLAGS=-export-dynamic -Werror
+EXEC=instru2light
CFLAGS+=$(shell pkg-config --cflags gtk+-2.0 gthread-2.0 libpulse)
# Maths for FFT related code, libftdi is the driver for USB2DMX module
@@ -23,7 +23,6 @@ all: $(EXEC)
$(EXEC): $(OBJ)
$(CC) -o $@ $^ $(LDFLAGS)
-#main.o: hello.h
%.o: %.c
$(CC) -o $@ -c $< $(CFLAGS)