Mercurial > hg > constant-q-cpp
view cpp-qm-dsp/Makefile @ 28:cf772e2d3ab0
Ah, the code was right, the test was wrong
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 04 Nov 2013 18:56:23 +0000 |
parents | 701900c371b0 |
children | 39dddbb78d8b |
line wrap: on
line source
DEFINES := -DUSE_PTHREADS CFLAGS := -I../.. $(CFLAGS) $(DEFINES) CXXFLAGS := -I../.. -Wall -g $(CXXFLAGS) $(DEFINES) #CXXFLAGS := -I../.. -Wall -O3 -ffast-math -ftree-vectorize $(CXXFLAGS) $(DEFINES) LDFLAGS := $(LDFLAGS) #VG := valgrind LIBS := ../../qm-dsp/libqm-dsp.a -lpthread PROGRAM_LIBS := -lsndfile SOURCES := CQKernel.cpp test.cpp OBJECTS := $(SOURCES:.cpp=.o) OBJECTS := $(OBJECTS:.c=.o) PROGRAM := test all: $(PROGRAM) test: $(OBJECTS) $(CXX) -o $@ $^ $(LDFLAGS) $(LIBS) $(PROGRAM_LIBS) clean: rm -f *.o