Debian Codegraph @

src/SPERR/utilities/qccpack/Makefile

raw
1
2 CC=gcc
3 CXX=g++
4 FLAGS=-g -O2 -Wall
5 QCC_DIR=/home/shaomeng/Git/QccPack-0.63-1/install
6
7 ARCH=$(shell uname)
8 ifeq ($(ARCH), Darwin)
9 CC=clang
10 CXX=clang++
11 CFLAGS=-g -Wall -Wno-unused-variable
12 CXXFLAGS=-std=c++14 -g -Wall -Wno-unused-private-field -Wno-unused-variable
13 endif
14
15
16 dwt3d.out: example_qcc_dwt3d.c
17 ${CC} ${FLAGS} -o $@ $^ -I${QCC_DIR}/include -L${QCC_DIR}/lib -Wl,-rpath,${QCC_DIR}/lib -lQccPack -lm
18
19 clean:
20 rm -rf *.out* *.o *.tmp