mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
21 lines
418 B
Makefile
21 lines
418 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
|
|
|
|
objs += $(addprefix ion/src/shared/, \
|
|
events.o \
|
|
software_version.o \
|
|
)
|
|
|
|
tests += $(addprefix ion/test/,\
|
|
crc32.cpp\
|
|
)
|