mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-05-20 17:07:32 +08:00

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@1 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
14 lines
305 B
Makefile
14 lines
305 B
Makefile
C_COMPILER=gcc
|
|
OUT_FILE=-o testunity
|
|
ifeq ($(OS),Windows_NT)
|
|
OUT_EXTENSION=.exe
|
|
else
|
|
OUT_EXTENSION=.out
|
|
endif
|
|
SRC_FILES=src/unity.c test/testunity.c test/testunity_Runner.c
|
|
INC_DIRS=-Isrc
|
|
SYMBOLS=-DTEST
|
|
|
|
default:
|
|
$(C_COMPILER) $(INC_DIRS) $(SYMBOLS) $(SRC_FILES) $(OUT_FILE)$(OUT_EXTENSION)
|