Created
August 5, 2018 07:39
-
-
Save itto-ki/c89015334427d17b931ad33725442d8b to your computer and use it in GitHub Desktop.
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
# Basic Info | |
CUSTOM_TARGET := i386-sawayakanaos | |
# Directories | |
SRC_DIR := src | |
TARGET_DIR := target | |
DEBUG_BUILD_DIR := $(TARGET_DIR)/$(CUSTOM_TARGET)/debug/ | |
# Files | |
SRCS := $(SRC_DIR)/lib.rs | |
# COMMAND | |
XARGO_FLAG := --target $(CUSTOM_TARGET) | |
.PHONY: build clean | |
build: $(SRCS) | |
xargo build $(XARGO_FLAG) | |
clean: | |
rm -rf $(TARGET_DIR) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment