diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-09-18 11:38:19 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-09-18 12:18:51 -0400 |
commit | 8f09e4cac48005af431f1c341060e11130f41422 (patch) | |
tree | 0254eec24658f31531016dba5fe4cf656d8f8079 /src/makefile.mingw | |
parent | 085d9c75f402265611fbffde7eff82f640640fb9 (diff) |
Give makefiles 'test' and 'check' targets to compile and run unit tests
Diffstat (limited to 'src/makefile.mingw')
-rw-r--r-- | src/makefile.mingw | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/makefile.mingw b/src/makefile.mingw index 55c5b7e387..9bbd739365 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -83,6 +83,9 @@ OBJS= \ all: bitcoind.exe +test check: test_bitcoin.exe FORCE + test_bitcoin.exe + obj/%.o: %.cpp $(HEADERS) g++ -c $(CFLAGS) -o $@ $< @@ -102,3 +105,5 @@ clean: -del /Q obj\* -del /Q obj-test\* -del /Q build.h + +FORCE: |