Files
Upsilon/ion/Makefile
Romain Goyet 61ed9a128f [ion] Add a test for the events
Change-Id: Ia15b137b151831a7b4140c176f41621dad1f48ef
2017-05-01 21:57:53 +02:00

22 lines
469 B
Makefile

GIT := $(shell command -v git 2> /dev/null)
PATCH_LEVEL = NONE
ifdef GIT
PATCH_LEVEL = `git rev-parse HEAD`
endif
SFLAGS += -Iion/include -DKD_CONFIG_H=1
ion/src/shared/software_version.o: SFLAGS += -DPATCH_LEVEL=$(PATCH_LEVEL) -DVERSION=$(VERSION)
include ion/src/$(PLATFORM)/Makefile
include ion/src/shared/tools/Makefile
objs += $(addprefix ion/src/shared/, \
events.o \
software_version.o \
)
tests += $(addprefix ion/test/,\
crc32.cpp\
events.cpp\
)