mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-25 01:59:21 +08:00
Add Makefile to fixture/test to make building tests easier
No rake and ruby required to build existing tests
This commit is contained in:
15
extras/fixture/test/Makefile
Normal file
15
extras/fixture/test/Makefile
Normal 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)
|
Reference in New Issue
Block a user