cppcheck/oss-fuzz/Makefile

19 lines
553 B
Makefile
Raw Normal View History

2019-03-29 21:07:01 +01:00
2019-03-29 22:58:56 +01:00
# oss-fuzz client
2019-03-29 21:07:01 +01:00
#
2019-03-29 22:58:56 +01:00
CPPCHECK_DIR=..
2019-03-29 21:07:01 +01:00
INCLUDE_DIR=-I ${CPPCHECK_DIR}/lib -I ${CPPCHECK_DIR}/externals/simplecpp -I ${CPPCHECK_DIR}/externals/tinyxml
2019-03-29 22:58:56 +01:00
SRC_FILES=main.cpp type2.cpp ${CPPCHECK_DIR}/externals/simplecpp/simplecpp.cpp ${CPPCHECK_DIR}/externals/tinyxml/tinyxml2.cpp ${CPPCHECK_DIR}/lib/*.cpp
2019-03-29 21:07:01 +01:00
2019-03-29 22:58:56 +01:00
all: oss-fuzz-client translate
2019-03-29 21:07:01 +01:00
oss-fuzz-client:
${CXX} -std=c++11 -g -DNO_MAIN ${CXXFLAGS} -o oss-fuzz-client ${INCLUDE_DIR} ${SRC_FILES} -lFuzzingEngine
2019-03-29 22:58:56 +01:00
translate:
g++ -o translate type2.cpp translate.cpp
2019-03-29 21:07:01 +01:00
clean:
2019-03-29 22:58:56 +01:00
rm -f oss-fuzz-client translate