Files
allwpilib/simulation/debs/frcsim-libwpilibsim-cpp/frcsim-libwpilibsim-cpp/Makefile
Alex Henning fa8d7b843c Fixed building of the frcsim-libwpilibsim-cpp deb.
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
2014-10-26 20:43:50 -04:00

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)