From caa3f6663d50f7f67a66b6a2fae7628674d3677f Mon Sep 17 00:00:00 2001 From: jsalling Date: Fri, 18 Dec 2015 17:48:35 -0600 Subject: [PATCH] Add Makefile to fixture/test to make building tests easier No rake and ruby required to build existing tests --- extras/fixture/test/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 extras/fixture/test/Makefile diff --git a/extras/fixture/test/Makefile b/extras/fixture/test/Makefile new file mode 100644 index 0000000..fe1d530 --- /dev/null +++ b/extras/fixture/test/Makefile @@ -0,0 +1,15 @@ +CC = gcc +DEFINES = -D UNITY_OUTPUT_CHAR=UnityOutputCharSpy_OutputChar +SRC = ../src/unity_fixture.c \ + ../../../src/unity.c \ + unity_fixture_Test.c \ + unity_fixture_TestRunner.c \ + unity_output_Spy.c \ + main/AllTests.c + +INC_DIR = -I../src -I../../../src/ +TARGET = fixture_tests.exe + +all: + @ $(CC) $(DEFINES) $(SRC) $(INC_DIR) -o $(TARGET) + @ ./$(TARGET) -- GitLab