Basic example
This commit is contained in:
9
Makefile
Normal file
9
Makefile
Normal file
@@ -0,0 +1,9 @@
|
||||
CPPFLAGS += -I $(GPHOTO2PREFIX)/include
|
||||
|
||||
libapi.mjs: api.cpp
|
||||
libtool --verbose --mode=link --tag=CXX $(CC) $+ --bind -s ASYNCIFY -fexceptions -s DYNAMIC_EXECUTION=0 -g -s ASYNCIFY_STACK_SIZE=1048576 -o $@ \
|
||||
$(GPHOTO2PREFIX)/lib/libltdl.la \
|
||||
$(GPHOTO2PREFIX)/lib/libgphoto2.la \
|
||||
-dlpreopen $(GPHOTO2PREFIX)/lib/libgphoto2/2.5.27.1/ptp2.la \
|
||||
-dlpreopen $(GPHOTO2PREFIX)/lib/libgphoto2_port/0.12.0/usb1.la \
|
||||
$(CPPFLAGS)
|
||||
Reference in New Issue
Block a user