mirror of https://github.com/YosysHQ/yosys.git
29 lines
533 B
Makefile
29 lines
533 B
Makefile
|
|
CC = clang
|
|
CXX = clang
|
|
CXXFLAGS = -MD -Wall -Wextra -ggdb
|
|
CXXFLAGS += -std=c++11 -O0
|
|
LDLIBS = -lminisat -lstdc++
|
|
|
|
all: demo_vec demo_bit demo_cmp testbench puzzle3d
|
|
|
|
demo_vec: demo_vec.o ezsat.o ezminisat.o
|
|
demo_bit: demo_bit.o ezsat.o ezminisat.o
|
|
demo_cmp: demo_cmp.o ezsat.o ezminisat.o
|
|
testbench: testbench.o ezsat.o ezminisat.o
|
|
puzzle3d: puzzle3d.o ezsat.o ezminisat.o
|
|
|
|
test: all
|
|
./testbench
|
|
./demo_bit
|
|
./demo_vec
|
|
./demo_cmp
|
|
|
|
clean:
|
|
rm -f demo_bit demo_vec testbench puzzle3d *.o *.d
|
|
|
|
.PHONY: all test clean
|
|
|
|
-include *.d
|
|
|