mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
There is still a bug where the examples have been updated to use 0 based joysticks, but the simulation libraries have not been updated. I'll fix that as a separate commit focused on fixing the joystick APIs. Change-Id: I3b358e67b7fa18b30d1fd2b53098659cfefdfd76
20 lines
532 B
Makefile
20 lines
532 B
Makefile
prefix = /usr
|
|
lib.dir = $(prefix)/lib
|
|
build.dir = build
|
|
allwpilib = ../..
|
|
|
|
all:
|
|
mkdir -p $(build.dir)
|
|
cd build && cmake .. && make
|
|
# cp -r $(allwpilib)/wpilibc/wpilibC++ build
|
|
# cd ${build.dir} && ALLWPILIB=$(allwpilib) cmake .. && make
|
|
|
|
clean:
|
|
rm -rf $(build.dir)
|
|
|
|
install: all
|
|
mkdir -p $(DESTDIR)$(lib.dir)
|
|
install build/allwpilib/wpilibc/wpilibC++Sim/libWPILibSim.so $(DESTDIR)$(lib.dir)
|
|
# install $(build.dir)/libWPILibSim.so $(DESTDIR)$(lib.dir)
|
|
# install $(build.dir)/build/wpilibC++/libWPILib.a $(DESTDIR)$(lib.dir)
|