makefiles fixes

This commit is contained in:
Andre Leiradella 2015-08-16 23:21:08 -03:00
parent 4188381ec6
commit 03102d09a9
20 changed files with 218 additions and 233 deletions

1
Makefile Normal file
View File

@ -0,0 +1 @@
include Makefile.libretro

View File

@ -1,41 +1,41 @@
DEBUG = 0
GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always --tags)
HAVE_VFS_FD := 1
CORE_DIR := src
CORE_DIR := .
BUILD_DIR := libretro-build
ifeq ($(platform),android_arm64-v8a)
include $(BUILD_DIR)/Makefile.android_arm64-v8a
ifeq ($(platform),wii_ppc)
include $(BUILD_DIR)/Makefile.wii_ppc
else ifeq ($(platform),windows_x86)
include $(BUILD_DIR)/Makefile.windows_x86
else ifeq ($(platform),android_armeabi)
include $(BUILD_DIR)/Makefile.android_armeabi
else ifeq ($(platform),android_arm64-v8a)
include $(BUILD_DIR)/Makefile.android_arm64-v8a
else ifeq ($(platform),mingw_x86)
include $(BUILD_DIR)/Makefile.mingw_x86
else ifeq ($(platform),mingw_x86_64)
include $(BUILD_DIR)/Makefile.mingw_x86_64
else ifeq ($(platform),windows_x86_64)
include $(BUILD_DIR)/Makefile.windows_x86_64
else ifeq ($(platform),linux_x86)
include $(BUILD_DIR)/Makefile.linux_x86
else ifeq ($(platform),linux_x86_64)
include $(BUILD_DIR)/Makefile.linux_x86_64
else ifeq ($(platform),android_armeabi-v7a)
include $(BUILD_DIR)/Makefile.android_armeabi-v7a
else ifeq ($(platform),android_mips)
include $(BUILD_DIR)/Makefile.android_mips
else ifeq ($(platform),android_mips64)
include $(BUILD_DIR)/Makefile.android_mips64
else ifeq ($(platform),android_x86)
include $(BUILD_DIR)/Makefile.android_x86
else ifeq ($(platform),android_mips64)
include $(BUILD_DIR)/Makefile.android_mips64
else ifeq ($(platform),android_x86_64)
include $(BUILD_DIR)/Makefile.android_x86_64
else ifeq ($(platform),linux-portable_x86)
include $(BUILD_DIR)/Makefile.linux-portable_x86
else ifeq ($(platform),linux-portable_x86_64)
include $(BUILD_DIR)/Makefile.linux-portable_x86_64
else ifeq ($(platform),linux_x86)
include $(BUILD_DIR)/Makefile.linux_x86
else ifeq ($(platform),linux_x86_64)
include $(BUILD_DIR)/Makefile.linux_x86_64
else ifeq ($(platform),mingw_x86)
include $(BUILD_DIR)/Makefile.mingw_x86
else ifeq ($(platform),mingw_x86_64)
include $(BUILD_DIR)/Makefile.mingw_x86_64
else ifeq ($(platform),wii_ppc)
include $(BUILD_DIR)/Makefile.wii_ppc
else ifeq ($(platform),windows_x86)
include $(BUILD_DIR)/Makefile.windows_x86
else ifeq ($(platform),windows_x86_64)
include $(BUILD_DIR)/Makefile.windows_x86_64
else ifeq ($(platform),android_mips)
include $(BUILD_DIR)/Makefile.android_mips
else
ifneq ($(EMSCRIPTEN),)
@ -282,13 +282,13 @@ CXXFLAGS += $(fpic) $(DEFINES)
LIBS :=
%.o: %.cpp
$(CXX) -c -o $@ $< $(CXXFLAGS) $(INCFLAGS)
$(CXX) -c -o $@ $< $(CXXFLAGS) $(INCLUDES)
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS) $(INCFLAGS)
$(CC) -c -o $@ $< $(CFLAGS) $(INCLUDES)
ifeq ($(platform), theos_ios)
COMMON_FLAGS := -DIOS $(COMMON_DEFINES) $(INCFLAGS) -I$(THEOS_INCLUDE_PATH) -Wno-error
COMMON_FLAGS := -DIOS $(COMMON_DEFINES) $(INCLUDES) -I$(THEOS_INCLUDE_PATH) -Wno-error
$(LIBRARY_NAME)_CFLAGS += $(CFLAGS) $(COMMON_FLAGS)
$(LIBRARY_NAME)_CXXFLAGS += $(CXXFLAGS) $(COMMON_FLAGS)
${LIBRARY_NAME}_FILES = $(SOURCES_CXX) $(SOURCES_C)

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-21/arch-arm64/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include/backward
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-21/arch-arm64/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include/backward
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-3/arch-arm/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include/backward
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-3/arch-arm/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include/backward
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-3/arch-arm/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include/backward
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-3/arch-arm/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include/backward
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-9/arch-mips/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/mips/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include/backward
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-9/arch-mips/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/mips/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include/backward
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-21/arch-mips64/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/libs/mips64/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include/backward
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-21/arch-mips64/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/libs/mips64/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include/backward
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-9/arch-x86/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/x86/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include/backward
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-9/arch-x86/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/x86/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include/backward
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-21/arch-x86_64/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86_64/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include/backward
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-21/arch-x86_64/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86_64/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include/backward
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -1,57 +1,57 @@
INCFLAGS := -I$(CORE_DIR) -I$(CORE_DIR)/arm
RETRODEFS := -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DINLINE=inline -DCOLOR_16_BIT -DCOLOR_5_6_5 -DRESAMPLE_LIBRARY=2 -DM_PI=3.14159265358979323846 -DPATH_MAX=4096 -DBINARY_NAME=\"mgba\" -DPROJECT_VERSION=\"0.2.0\" -DPROJECT_NAME=\"mGBA\" -DSSIZE_MAX=32767
INCLUDES += -I$(CORE_DIR)/src -I$(CORE_DIR)/src/arm
RETRODEFS += -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DINLINE=inline -DCOLOR_16_BIT -DCOLOR_5_6_5 -DRESAMPLE_LIBRARY=2 -DM_PI=3.14159265358979323846 -DPATH_MAX=4096 -DBINARY_NAME=\"mgba\" -DPROJECT_VERSION=\"0.2.0\" -DPROJECT_NAME=\"mGBA\" -DSSIZE_MAX=32767
ifneq ($(HAVE_VFS_FD),1)
RETRODEFS += -DUSE_VFS_FILE
endif
SOURCES_C := $(CORE_DIR)/arm/arm.c \
$(CORE_DIR)/arm/isa-thumb.c \
$(CORE_DIR)/arm/isa-arm.c \
$(CORE_DIR)/arm/decoder-arm.c \
$(CORE_DIR)/arm/decoder-thumb.c \
$(CORE_DIR)/arm/decoder.c \
$(CORE_DIR)/debugger/debugger.c \
$(CORE_DIR)/debugger/memory-debugger.c \
$(CORE_DIR)/gba/savedata.c \
$(CORE_DIR)/gba/io.c \
$(CORE_DIR)/gba/bios.c \
$(CORE_DIR)/gba/hle-bios.c \
$(CORE_DIR)/gba/input.c \
$(CORE_DIR)/gba/audio.c \
$(CORE_DIR)/gba/memory.c \
$(CORE_DIR)/gba/cheats.c \
$(CORE_DIR)/gba/cheats/gameshark.c \
$(CORE_DIR)/gba/cheats/parv3.c \
$(CORE_DIR)/gba/cheats/codebreaker.c \
$(CORE_DIR)/gba/gba.c \
$(CORE_DIR)/gba/hardware.c \
$(CORE_DIR)/gba/sio.c \
$(CORE_DIR)/gba/video.c \
$(CORE_DIR)/gba/serialize.c \
$(CORE_DIR)/gba/supervisor/overrides.c \
$(CORE_DIR)/gba/supervisor/sync.c \
$(CORE_DIR)/gba/supervisor/thread.c \
$(CORE_DIR)/gba/renderers/software-mode0.c \
$(CORE_DIR)/gba/renderers/software-obj.c \
$(CORE_DIR)/gba/renderers/software-bg.c \
$(CORE_DIR)/gba/renderers/video-software.c \
$(CORE_DIR)/platform/libretro/memory.c \
$(CORE_DIR)/platform/libretro/libretro.c \
$(CORE_DIR)/third-party/inih/ini.c \
$(CORE_DIR)/util/formatting.c \
$(CORE_DIR)/util/vfs.c \
$(CORE_DIR)/util/table.c \
$(CORE_DIR)/util/vfs/vfs-mem.c \
$(CORE_DIR)/util/string.c \
$(CORE_DIR)/util/hash.c \
$(CORE_DIR)/util/configuration.c \
$(CORE_DIR)/util/circle-buffer.c \
$(CORE_DIR)/third-party/blip_buf/blip_buf.c \
$(CORE_DIR)/util/crc32.c
SOURCES_C := $(CORE_DIR)/src/arm/arm.c \
$(CORE_DIR)/src/arm/isa-thumb.c \
$(CORE_DIR)/src/arm/isa-arm.c \
$(CORE_DIR)/src/arm/decoder-arm.c \
$(CORE_DIR)/src/arm/decoder-thumb.c \
$(CORE_DIR)/src/arm/decoder.c \
$(CORE_DIR)/src/debugger/debugger.c \
$(CORE_DIR)/src/debugger/memory-debugger.c \
$(CORE_DIR)/src/gba/savedata.c \
$(CORE_DIR)/src/gba/io.c \
$(CORE_DIR)/src/gba/bios.c \
$(CORE_DIR)/src/gba/hle-bios.c \
$(CORE_DIR)/src/gba/input.c \
$(CORE_DIR)/src/gba/audio.c \
$(CORE_DIR)/src/gba/memory.c \
$(CORE_DIR)/src/gba/cheats.c \
$(CORE_DIR)/src/gba/cheats/gameshark.c \
$(CORE_DIR)/src/gba/cheats/parv3.c \
$(CORE_DIR)/src/gba/cheats/codebreaker.c \
$(CORE_DIR)/src/gba/gba.c \
$(CORE_DIR)/src/gba/hardware.c \
$(CORE_DIR)/src/gba/sio.c \
$(CORE_DIR)/src/gba/video.c \
$(CORE_DIR)/src/gba/serialize.c \
$(CORE_DIR)/src/gba/supervisor/overrides.c \
$(CORE_DIR)/src/gba/supervisor/sync.c \
$(CORE_DIR)/src/gba/supervisor/thread.c \
$(CORE_DIR)/src/gba/renderers/software-mode0.c \
$(CORE_DIR)/src/gba/renderers/software-obj.c \
$(CORE_DIR)/src/gba/renderers/software-bg.c \
$(CORE_DIR)/src/gba/renderers/video-software.c \
$(CORE_DIR)/src/platform/libretro/memory.c \
$(CORE_DIR)/src/platform/libretro/libretro.c \
$(CORE_DIR)/src/third-party/inih/ini.c \
$(CORE_DIR)/src/util/formatting.c \
$(CORE_DIR)/src/util/vfs.c \
$(CORE_DIR)/src/util/table.c \
$(CORE_DIR)/src/util/vfs/vfs-mem.c \
$(CORE_DIR)/src/util/string.c \
$(CORE_DIR)/src/util/hash.c \
$(CORE_DIR)/src/util/configuration.c \
$(CORE_DIR)/src/util/circle-buffer.c \
$(CORE_DIR)/src/third-party/blip_buf/blip_buf.c \
$(CORE_DIR)/src/util/crc32.c
ifeq ($(HAVE_VFS_FD),1)
SOURCES_C += $(CORE_DIR)/util/vfs/vfs-fd.c
SOURCES_C += $(CORE_DIR)/src/util/vfs/vfs-fd.c
else
SOURCES_C += $(CORE_DIR)/util/vfs/vfs-file.c
SOURCES_C += $(CORE_DIR)/src/util/vfs/vfs-file.c
endif

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -7,7 +7,7 @@ else
endif
DEFINES +=
CFLAGS += -Wall
CFLAGS += -Wall -std=c99
CXXFLAGS += -Wall
LDFLAGS +=

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
###############
# Include rules

View File

@ -16,16 +16,6 @@ else ifneq ($(findstring win,$(shell uname -a)),)
HOST_PLATFORM = windows
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
#################
# Toolchain setup
@ -85,6 +75,15 @@ ifneq ($(LOG_PERFORMANCE),)
CXXFLAGS += -DLOG_PERFORMANCE
endif
####################################
# Variable setup for Makefile.common
CORE_DIR ?= ..
BUILD_DIR ?= .
INCLUDES =
include $(BUILD_DIR)/Makefile.common
###############
# Include rules