Skip to content

Instantly share code, notes, and snippets.

@cad-san
Last active December 22, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cad-san/6484973 to your computer and use it in GitHub Desktop.
Save cad-san/6484973 to your computer and use it in GitHub Desktop.
CppUTestを利用するプロジェクトのMakefile
all: test
clean: cleanTest
test: CppUTest CppUTestExt
make -f MakefileCppUTest.mk
cleanTest:
make -i -f MakefileCppUTest.mk clean
CppUTest: cpputest/lib/libCppUTest.a
CppUTestExt: cpputest/lib/libCppUTestExt.a
cpputest/lib/libCppUTest.a:
make -i -C cpputest -f Makefile_using_MakefileWorker
cpputest/lib/libCppUTestExt.a:
make -i -C cpputest -f Makefile_using_MakefileWorker extensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment