Don't hardcode version IDs in Makefile (#86)

This commit is contained in:
cadmic
2024-08-19 20:54:22 -07:00
committed by GitHub
parent 8f96e1e71b
commit bf1f007dc7

View File

@@ -31,17 +31,7 @@ WORKING_DIR := $(shell pwd)
CPP := cpp -P
AR := $(CROSS)ar
VERSION_D := 1
VERSION_E := 2
VERSION_F := 3
VERSION_G := 4
VERSION_H := 5
VERSION_I := 6
VERSION_J := 7
VERSION_K := 8
VERSION_L := 9
VERSION_DEFINE := -DBUILD_VERSION=$(VERSION_$(VERSION)) -DBUILD_VERSION_STRING=\"2.0$(VERSION)\"
VERSION_DEFINE := -DBUILD_VERSION=VERSION_$(VERSION) -DBUILD_VERSION_STRING=\"2.0$(VERSION)\"
ifeq ($(findstring _d,$(TARGET)),_d)
DEBUGFLAG := -D_DEBUG