mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 08:25:58 +01:00
20 lines
467 B
Makefile
20 lines
467 B
Makefile
CC = gcc
|
|
CFLAGS += -Werror
|
|
CFLAGS += -std=c99
|
|
CFLAGS += -pedantic
|
|
CFLAGS += -Wundef
|
|
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) $(CFLAGS) $(DEFINES) $(SRC) $(INC_DIR) -o $(TARGET)
|
|
./$(TARGET)
|