blob: fe999c882b157f5c5c4a93692ba0e88c7c564cc6 [file] [log] [blame]
briansab45cad2013-03-03 05:31:33 +00001broken:
2 @echo THIS FILE IS OLD 2>&1
3 @echo IT IS ONLY HERE TO HELP MANUALLY DOWNLOAD NEW VERSIONS!!!!! 2>&1
4 exit 1
5
brians343bc112013-02-10 01:53:46 +00006all: make.rb WPILib.a
7 #ruby make.rb
8clean:
9 rm -f *.out WPILib/*.o WPILib/*/*.o *.d
10
11deploy: all
12 ncftpput robot /ni-rt/system/ wpilib.out
13
14wpilibupdate.exe:
15 wget http://firstforge.wpi.edu/sf/frs/do/downloadFile/projects.wpilib/frs.2012_update_for_c.frc_update_3111/frs1405?dl=1 -O wpilibupdate.exe
16
17WPILib: wpilibupdate.exe
18 mkdir wpilibinstaller
19 cd wpilibinstaller
20 unzip wpilibupdate.exe -d wpilibinstaller/ | tee wpilibinstaller/unziplog.txt
21 cat wpilibinstaller/unziplog.txt | grep "inflating: wpilibinstaller/.*\.zip" | sed "s/.*\(wpilibinstaller\/.*\.zip\).*/\1/" | xargs -I '{}' cp '{}' ./
22 #cat wpilibinstaller/unziplog.txt | grep "inflating: wpilibinstaller/.*\.zip" | sed "s/.*wpilibinstaller\/\(.*\.zip\).*/\1/" | xargs -I '{}' ln -s '{}' ./WPILib.zip
23 unzip -a WPILib*.zip
24 rm -r wpilibinstaller
25 rm -f wpilib_page1.url wpilib_page2.url wpilib_page3.url
26
27WPILib.a: wpilibupdate.exe
28 unzip wpilibupdate.exe
29 cp vxworks-6.3/target/lib/WPILib.a ./
30