forked from NeuronRobotics/nrjavaserial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (38 loc) · 815 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
all:
echo "Please specify a system: windows wine linux osx"
./gradlew build
windows:
mingw32-make -C .\src\main\c windowsLocal
./gradlew.bat build
wine:
make -C src/main/c windows
./gradlew build
linux:
make -C src/main/c linux
./gradlew build
linux32:
sudo apt-get install libc6-dev-i386 linux-libc-dev
make -C src/main/c linux32
./gradlew build
linux64:
make -C src/main/c linux64
./gradlew build
freebsd:
gmake -C src/main/c freebsd
./gradlew build
freebsd32:
gmake -C src/main/c freebsd32
./gradlew build
freebsd64:
gmake -C src/main/c freebsd64
./gradlew build
arm:
sudo apt-get install g++-arm-linux-gnueabihf g++-arm-linux-gnueabi g++-aarch64-linux-gnu
make -C src/main/c arm
./gradlew build
ppc:
make -C src/main/c ppc
./gradlew build
osx:
make -C src/main/c osx
./gradlew build