Files
Linux_Drivers/build/tools/common/spinand_tool/sv_tool/Makefile
sam.xiang a4f213ceb0 [build] add cvitek build scripts
Change-Id: If63ce4a669e5d4d72b8e3b9253336dd99bf74c30
2023-03-10 20:35:59 +08:00

19 lines
295 B
Makefile

CXX ?= g++
CXXFLAGS += "--std=c++11"
NANDBOOT_V2 ?= 0
ifeq ($(NANDBOOT_V2), 1)
CXXFLAGS += "-DNANDBOOT_V2"
endif
all:create_sv
create_sv:create_sv.cpp create_sv.h crc16.cpp crc.h
$(CXX) create_sv.cpp crc16.cpp -o create_sv $(CXXFLAGS)
run:create_sv
./create_sv
clean:
rm -rf create_sv