2015-01-07 04:51:39 +01:00
|
|
|
all : colorchord
|
|
|
|
|
|
|
|
RAWDRAW:=DrawFunctions.o XDriver.o
|
|
|
|
SOUND:=sound.o sound_alsa.o sound_pulse.o sound_null.o
|
2015-01-16 08:28:24 +01:00
|
|
|
OUTS := OutputVoronoi.o DisplayArray.o OutputLinear.o DisplayPie.o DisplayNetwork.o
|
2015-01-10 07:44:13 +01:00
|
|
|
|
|
|
|
#LEDOUTDriver.o DisplayOUTDriver.o
|
|
|
|
|
2015-01-07 04:51:39 +01:00
|
|
|
RAWDRAWLIBS:=-lX11 -lm -lpthread -lXinerama -lXext
|
|
|
|
LDLIBS:=-lpthread -lasound -lm -lpulse-simple -lpulse
|
2015-01-07 06:09:26 +01:00
|
|
|
CFLAGS:=-g -Os -flto -Wall -ffast-math
|
2015-01-07 04:51:39 +01:00
|
|
|
EXTRALIBS:=-lusb-1.0
|
|
|
|
|
2015-01-10 07:44:13 +01:00
|
|
|
colorchord : os_generic.o main.o dft.o decompose.o filter.o color.o sort.o notefinder.o util.o outdrivers.o $(RAWDRAW) $(SOUND) $(OUTS) parameters.o chash.o
|
2015-01-07 04:51:39 +01:00
|
|
|
gcc -o $@ $^ $(CFLAGS) $(LDLIBS) $(EXTRALIBS) $(RAWDRAWLIBS)
|
|
|
|
|
|
|
|
|
|
|
|
clean :
|
|
|
|
rm -rf *.o *~ colorchord
|