Files
Upsilon/ion/Makefile
Émilie Feral f9a1caa8eb [ion] Add a class State in Keyboard
Change-Id: I42b2c892deaedc83a7629d8c8be66cd4e1fbcb5c
2017-05-23 15:24:55 +02:00

23 lines
485 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\
keyboard.cpp\
)