Add Makefile to fixture/test to make building tests easier

No rake and ruby required to build existing tests
This commit is contained in:
jsalling
2015-12-18 17:48:35 -06:00
parent c629e120e1
commit caa3f6663d

View File

@ -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)