mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
Changes in libs, passes and tests Makefiles. LDLIBS -> LIBS. LDFLAGS -> LINKFLAGS. CXX is clang++ or g++, not clang and gcc
This commit is contained in:
parent
dea4aeae56
commit
4a2fb18718
4 changed files with 9 additions and 11 deletions
|
@ -1,9 +1,9 @@
|
|||
|
||||
CC = clang
|
||||
CXX = clang
|
||||
CXX = clang++
|
||||
CXXFLAGS = -MD -Wall -Wextra -ggdb
|
||||
CXXFLAGS += -std=c++11 -O0
|
||||
LDLIBS = ../minisat/Options.cc ../minisat/SimpSolver.cc ../minisat/Solver.cc ../minisat/System.cc -lm -lstdc++
|
||||
LIBS = ../minisat/Options.cc ../minisat/SimpSolver.cc ../minisat/Solver.cc ../minisat/System.cc -lm -lstdc++
|
||||
|
||||
|
||||
all: demo_vec demo_bit demo_cmp testbench puzzle3d
|
||||
|
@ -27,4 +27,3 @@ clean:
|
|||
.PHONY: all test clean
|
||||
|
||||
-include *.d
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ CONFIG := clang-debug
|
|||
# CONFIG := release
|
||||
|
||||
CC = clang
|
||||
CXX = clang
|
||||
CXX = clang++
|
||||
CXXFLAGS = -MD -Wall -Wextra -ggdb
|
||||
LDLIBS = -lstdc++
|
||||
LIBS = -lstdc++
|
||||
|
||||
ifeq ($(CONFIG),clang-debug)
|
||||
CXXFLAGS += -std=c++11 -O0
|
||||
|
@ -15,19 +15,19 @@ endif
|
|||
|
||||
ifeq ($(CONFIG),gcc-debug)
|
||||
CC = gcc
|
||||
CXX = gcc
|
||||
CXX = g++
|
||||
CXXFLAGS += -std=gnu++0x -O0
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG),profile)
|
||||
CC = gcc
|
||||
CXX = gcc
|
||||
CXX = g++
|
||||
CXXFLAGS += -std=gnu++0x -Os -DNDEBUG
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG),release)
|
||||
CC = gcc
|
||||
CXX = gcc
|
||||
CXX = g++
|
||||
CXXFLAGS += -std=gnu++0x -march=native -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
|
@ -50,4 +50,3 @@ clean:
|
|||
.PHONY: all test clean
|
||||
|
||||
-include *.d
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue