forked from wren-lang/wren-cli
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cc does not have a `-m64` option on ARM
- Loading branch information
Showing
3 changed files
with
553 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Alternative GNU Make workspace makefile autogenerated by Premake | ||
|
||
ifndef config | ||
config=release_64bit | ||
endif | ||
|
||
ifndef verbose | ||
SILENT = @ | ||
endif | ||
|
||
ifeq ($(config),release_64bit) | ||
wrenc_config = release_64bit | ||
|
||
else ifeq ($(config),release_32bit) | ||
wrenc_config = release_32bit | ||
|
||
else ifeq ($(config),release_64bit-no-nan-tagging) | ||
wrenc_config = release_64bit-no-nan-tagging | ||
|
||
else ifeq ($(config),debug_64bit) | ||
wrenc_config = debug_64bit | ||
|
||
else ifeq ($(config),debug_32bit) | ||
wrenc_config = debug_32bit | ||
|
||
else ifeq ($(config),debug_64bit-no-nan-tagging) | ||
wrenc_config = debug_64bit-no-nan-tagging | ||
|
||
else | ||
$(error "invalid configuration $(config)") | ||
endif | ||
|
||
PROJECTS := wrenc | ||
|
||
.PHONY: all clean help $(PROJECTS) | ||
|
||
all: $(PROJECTS) | ||
|
||
wrenc: | ||
ifneq (,$(wrenc_config)) | ||
@echo "==== Building wrenc ($(wrenc_config)) ====" | ||
@${MAKE} --no-print-directory -C . -f wrenc.make config=$(wrenc_config) | ||
endif | ||
|
||
clean: | ||
@${MAKE} --no-print-directory -C . -f wrenc.make clean | ||
|
||
help: | ||
@echo "Usage: make [config=name] [target]" | ||
@echo "" | ||
@echo "CONFIGURATIONS:" | ||
@echo " release_64bit" | ||
@echo " release_32bit" | ||
@echo " release_64bit-no-nan-tagging" | ||
@echo " debug_64bit" | ||
@echo " debug_32bit" | ||
@echo " debug_64bit-no-nan-tagging" | ||
@echo "" | ||
@echo "TARGETS:" | ||
@echo " all (default)" | ||
@echo " clean" | ||
@echo " wrenc" | ||
@echo "" | ||
@echo "For more information, see https://github.com/premake/premake-core/wiki" |
Oops, something went wrong.