9 CXXFLAGS
= -MD
-Wall
-Wextra
-ggdb
12 ifeq ($(CONFIG
),clang-debug
)
13 CXXFLAGS
+= -std
=c
++11 -O0
16 ifeq ($(CONFIG
),gcc-debug
)
19 CXXFLAGS
+= -std
=gnu
++0x
-O0
22 ifeq ($(CONFIG
),profile
)
25 CXXFLAGS
+= -std
=gnu
++0x
-Os
-DNDEBUG
28 ifeq ($(CONFIG
),release
)
31 CXXFLAGS
+= -std
=gnu
++0x
-march
=native
-O3
-DNDEBUG
36 demo
: demo.o subcircuit.o
38 scshell
: scshell.o subcircuit.o
41 .
/scshell
< test_macc22.txt
42 .
/scshell
< test_mine.txt
43 perl test_perm.pl | .
/scshell
44 splrun test_shorts.spl | .
/scshell
45 splrun test_large.spl | .
/scshell
48 rm -f demo scshell
*.o
*.d
50 .PHONY
: all test clean