-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix automatic build process (#12) and extra docs
* Fix automatic build process * missed a hotlink * Add discord for ways to contact us
- Loading branch information
Showing
5 changed files
with
87 additions
and
15 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
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 |
---|---|---|
|
@@ -28,11 +28,12 @@ We have a number of resources available on our website, including | |
Drop us a line | ||
- at [email protected] | ||
- on the [VEX Forum](https://www.vexforum.com/index.php/) | ||
- on VEX Teams of the World Discord | ||
|
||
### I think I found a bug! | ||
We maintain GitHub repositories for the three major components of the PROS ecosystem: | ||
- The Command Line Interface (cli) at [purduesigbots/pros-cli](github.com/purduesigbots/pros-cli) | ||
- The Atom plugin at [purduesigbots/pros-atom](github.com/purduesigbots/pros-atom) | ||
- The kernel [here](github.com/purduesigbots/pros) | ||
|
||
If you find a problem with our documentation or tutorials, we have a repository for that, too, at [purduesigbots/pros-docs](github.com/purduesigbots/pros-docs). | ||
If you find a problem with our documentation or tutorials, we have a repository for that, too, at purduesigbots/pros-docs. |
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,50 @@ | ||
# Makefile for compiling PROS projects | ||
|
||
# Path to project root (NO trailing slash!) | ||
ROOT=.. | ||
# Binary output directory | ||
BINDIR=$(ROOT)/bin | ||
|
||
# Nothing below here needs to be modified by typical users | ||
|
||
# Include common aspects of this project | ||
-include $(ROOT)/common.mk | ||
|
||
ASMSRC:=$(wildcard *.$(ASMEXT)) | ||
ASMOBJ:=$(patsubst %.o,$(BINDIR)/%.o,$(ASMSRC:.$(ASMEXT)=.o)) | ||
HEADERS:=$(wildcard *.$(HEXT)) | ||
### Special section for Cortex projects ### | ||
HEADERS_2:=$(wildcard ../include/*.$(HEXT)) | ||
### End special section ### | ||
CSRC=$(wildcard *.$(CEXT)) | ||
COBJ:=$(patsubst %.o,$(BINDIR)/%.o,$(CSRC:.$(CEXT)=.o)) | ||
CPPSRC:=$(wildcard *.$(CPPEXT)) | ||
CPPOBJ:=$(patsubst %.o,$(BINDIR)/%.o,$(CPPSRC:.$(CPPEXT)=.o)) | ||
OUT:=$(BINDIR)/$(OUTNAME) | ||
|
||
.PHONY: all | ||
|
||
# By default, compile program | ||
all: . | ||
|
||
# Compiles the program if anything is changed | ||
.: $(ASMOBJ) $(COBJ) $(CPPOBJ) | ||
@touch . | ||
|
||
# Assembly source file management | ||
$(ASMOBJ): $(BINDIR)/%.o: %.$(ASMEXT) | ||
@echo AS $< | ||
@$(AS) $(AFLAGS) -o $@ $< | ||
|
||
### Special section for Cortex projects ### | ||
|
||
# Object management | ||
$(COBJ): $(BINDIR)/%.o: %.$(CEXT) $(HEADERS) $(HEADERS_2) | ||
@echo CC $(INCLUDE) $< | ||
@$(CC) $(INCLUDE) $(CFLAGS) -o $@ $< | ||
|
||
$(CPPOBJ): $(BINDIR)/%.o: %.$(CPPEXT) $(HEADERS) $(HEADERS_2) | ||
@echo CPC $(INCLUDE) $< | ||
@$(CPPCC) $(INCLUDE) $(CPPFLAGS) -o $@ $< | ||
|
||
### End special section ### |