Merge branch 'master' of github.com:martmists/pokediamond into pikalax_work

This commit is contained in:
PikalaxALT
2020-06-08 09:58:38 -04:00
5 changed files with 5 additions and 11 deletions

View File

@@ -3,10 +3,11 @@
include config.mk
include filesystem.mk
HOSTCC := $(CC)
HOSTCXX := $(CXX)
HOSTCC = $(CC)
HOSTCXX = $(CXX)
HOSTCFLAGS = $(CFLAGS)
HOSTCXXFLAGS = $(CXXFLAGS)
HOST_VARS := CC=$(HOSTCC) CXX=$(HOSTCXX) CFLAGS='$(HOSTCFLAGS)' CXXFLAGS='$(HOSTCXXFLAGS)'
.PHONY: clean tidy all default patch_mwasmarm
@@ -219,7 +220,7 @@ infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst
# Build tools when building the rom
# Disable dependency scanning for clean/tidy/tools
ifeq (,$(filter-out all,$(MAKECMDGOALS)))
$(call infoshell, $(MAKE) tools patch_mwasmarm)
$(call infoshell, $(HOST_VARS) $(MAKE) tools patch_mwasmarm)
else
NODEP := 1
endif
@@ -256,7 +257,7 @@ tidy:
tools: $(TOOLDIRS)
$(TOOLDIRS):
@$(MAKE) -C $@
@$(HOST_VARS) $(MAKE) -C $@
$(MWASMARM): patch_mwasmarm
@:

View File

@@ -1,5 +1,3 @@
CXX := g++
CXXFLAGS := -Wall -std=c++11 -O2
INCLUDES := -I .

View File

@@ -1,5 +1,3 @@
CXX := g++
CXXFLAGS := -std=c++17 -O2 -Wall -Wno-switch -lstdc++fs
SRCS := Source.cpp Narc.cpp

View File

@@ -1,4 +1,3 @@
CXX = g++
CXXFLAGS := -O3 -std=c++11
.PHONY: all clean

View File

@@ -1,5 +1,3 @@
CXX = g++
CXXFLAGS = -Wall -Werror -std=c++11 -O2
SRCS = scaninc.cpp c_file.cpp asm_file.cpp source_file.cpp