Simplify Makefile and correct for new file name
This commit is contained in:
parent
1ade41bf50
commit
b7a28ce29c
@ -1,5 +1,7 @@
|
|||||||
LIBS=wpi
|
LIBS=wpi
|
||||||
override CFLAGS +=-l$(LIBS) -std=c++14
|
CXX=arm-frc-linux-gnueabi-g++
|
||||||
|
override CPPFLAGS +=-std=c++14
|
||||||
|
LDFLAGS=-l$(LIBS)
|
||||||
TEAM=1786
|
TEAM=1786
|
||||||
SSH_OPTIONS=-q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
|
SSH_OPTIONS=-q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
|
||||||
SSH_SSHPASS=$(shell command -v sshpass >/dev/null 2>&1 && echo -n "sshpass -p ''")
|
SSH_SSHPASS=$(shell command -v sshpass >/dev/null 2>&1 && echo -n "sshpass -p ''")
|
||||||
@ -8,9 +10,9 @@ all: deploy
|
|||||||
|
|
||||||
build: FRCUserProgram
|
build: FRCUserProgram
|
||||||
|
|
||||||
FRCUserProgram: robot.cpp
|
FRCUserProgram: src/Robot.cpp
|
||||||
@echo "Building FRCUserProgram"
|
@echo "Building FRCUserProgram"
|
||||||
arm-frc-linux-gnueabi-g++ robot.cpp -o FRCUserProgram $(CFLAGS)
|
$(CXX) $(CPPFLAGS) $< -o $@ $(LDFLAGS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm FRCUserProgram
|
rm FRCUserProgram
|
||||||
|
Reference in New Issue
Block a user