Skip to content

Commit

Permalink
Don't hardcode version IDs in Makefile (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
cadmic authored Aug 20, 2024
1 parent 8f96e1e commit bf1f007
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf1f007

Please sign in to comment.