-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (17 loc) · 718 Bytes
/
Copy pathMakefile
File metadata and controls
26 lines (17 loc) · 718 Bytes
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
SRC_DIRECTORY = src/com/daloji/dongle
BIN_DIRECTORY = bin/com/daloji/dongle
JAR_FILE = usbDongle.jar
help:
@echo ' global Makefile for this project '
@echo ' '
@echo 'Usage: '
@echo ' make all compile java and native C code '
@echo ' make clean remove generated .classes ans shared library '
all:clean
ant compile
javah -d jni -jni -classpath src com.daloji.dongle.Core
make -C jni all
ant jar
clean:
#rm -f $(BIN_DIRECTORY)/*.class
rm -f $(JAR_FILE)