1234567891011121314151617181920 |
- LD_FLAGS =
- LD_LIBS = -lasound -lfftw3f -lm -pthread # note single-prec FFTW library
- CXX = g++
- CXX_FLAGS = -O2
- DEBUG_FLAGS = -g
- all: sspect
- sspect: sspect.cpp Makefile
- ${CXX} ${CXX_FLAGS} sspect.cpp -lglut -lGL ${LD_LIBS} -o sspect
- debug: sspect.cpp Makefile
- ${CXX} ${CXX_FLAGS} ${DEBUG_FLAGS} sspect.cpp -lglut -lGL ${LD_LIBS} -o sspect
- clean:
- rm -f core *.o sspect
- tar: all
- (cd ..; tar cvfz sspect.tgz sspect/README.md sspect/Makefile sspect/sspect.cpp sspect/sspect sspect/screenshot.png)
|