Remove hardcoded version from libretro.c, use version from the Makefile
This commit is contained in:
parent
0891de668b
commit
fc15b5c9f9
1
Makefile
1
Makefile
@ -18,6 +18,7 @@ MAKECMDGOALS := $(DEFAULT)
|
||||
endif
|
||||
|
||||
VERSION := 0.9
|
||||
export VERSION
|
||||
CONF ?= debug
|
||||
|
||||
BIN := build/bin
|
||||
|
@ -6,6 +6,8 @@ ifneq ($(GIT_VERSION)," unknown")
|
||||
CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
endif
|
||||
|
||||
CFLAGS += -DSAMEBOY_CORE_VERSION=\"$(VERSION)\"
|
||||
|
||||
ifeq ($(platform),)
|
||||
platform = unix
|
||||
ifeq ($(shell uname -a),)
|
||||
|
@ -14,8 +14,6 @@
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#define SAMEBOY_CORE_VERSION "0.9"
|
||||
|
||||
#include <Core/gb.h>
|
||||
#include "libretro.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user