mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
Updated makefile to no longer require use of 'find'
This commit is contained in:
parent
b4ee9a30c6
commit
a0018675ac
3
Makefile
3
Makefile
@ -2,7 +2,8 @@ REMOTEIP=10.20.59.2
|
||||
CC=arm-frc-linux-gnueabi-g++
|
||||
CFLAGS=-std=c++11 -O0 -g3 -Wall -c -fmessage-length=0
|
||||
LDFLAGS=-Wl,-rpath,/opt/GenICam_v2_3/bin/Linux_armv7-a
|
||||
SOURCES=$(shell find -type f -name "*.cpp")
|
||||
rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
|
||||
SOURCES=$(call rwildcard,./,*.cpp)
|
||||
OBJECTS=$(SOURCES:.cpp=.o)
|
||||
WPILIB=/var/frc/wpilib
|
||||
EXEC=bin/FRCUserProgram
|
||||
|
Loading…
Reference in New Issue
Block a user