You've already forked hackerlibultra
mirror of
https://github.com/HackerN64/hackerlibultra.git
synced 2026-01-21 10:37:53 -08:00
Don't hardcode version IDs in Makefile (#86)
This commit is contained in:
12
Makefile
12
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user