FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
processing/java/libraries/io/src/native/Makefile at patch-1 · Stefterv/processing · GitHub
Stefterv
processing
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
processing
/
java
/
libraries
/
io
/
src
/
native
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (15 loc) · 508 Bytes
Breadcrumbs
processing
/
java
/
libraries
/
io
/
src
/
native
/
Makefile
Copy path
File metadata and controls
20 lines (15 loc) · 508 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
TARGET
:= libprocessing-io.so
OBJS
:= impl.o
CC
:= gcc
#
prefix with -m32 to compile for linux32
CFLAGS
:= -std=gnu99 -fPIC -g -ffast-math
CFLAGS
+= -I
$(
shell
dirname
$(
shell
realpath
$(
shell
which javac)
)
)
/../include
CFLAGS
+= -I
$(
shell
dirname
$(
shell
realpath
$(
shell
which javac)
)
)
/../include/linux
LDFLAGS
:= -shared
$(
TARGET
)
:
$(
OBJS
)
$(
CC
)
$(
CFLAGS
)
$(
LDFLAGS
)
$^
-o
$@
iface.h
:
javah -classpath .. -o iface.h processing.io.NativeInterface
clean
:
rm -f
$(
TARGET
)
$(
OBJS
)
.PHONY
: iface.h clean
Back
|
FazBrowse Home
|
New Git URL