Files
web-dslr/Makefile
Ingvar Stepanyan 5e5d7be282 Various fixes and improvements
Among other things, periodically poll settings back from the camera.
2021-07-08 20:36:44 +00:00

10 lines
495 B
Makefile

CPPFLAGS += -I $(GPHOTO2PREFIX)/include
libapi.mjs: api.cpp
libtool --verbose --mode=link --tag=CXX $(CC) -std=c++17 $+ --bind -s ASYNCIFY -fexceptions -g -s INITIAL_MEMORY=280231936 -s ALLOW_MEMORY_GROWTH -s ASYNCIFY_STACK_SIZE=1048576 -s DYNAMIC_EXECUTION=0 -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)