Subversion Repositories svnkaklik

Compare Revisions

Ignore whitespace Rev 498 → Rev 500

/programy/C/mips/capture/Makefile
26,7 → 26,7
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Canon Capture
DEPENDS:=+libptp2
DEPENDS:=+libptp2 +lusb
URL:=http://capture.sourceforge.net/
endef
 
34,9 → 34,18
Capture is a tool for periodic image capturing with digital Canon cameras.
endef
 
 
CFLAGS=-pedantic -pedantic-errors -Wall $(DEBUG_FLAGS) $(LIBPTP_INC) $(HAVE_READLINE)
LDLIBS= -lusb -lptp2
 
SOURCES := capture.c client.c commands.c properties.c ptp-utils.c server.c viewfinder.c
DEPFILES := $(SOURCES:.c=.d)
OBJS := capture.o ptp-utils.o server.o client.o properties.o commands.o
 
 
define Build/Compile
$(TOOLCHAIN_DIR)/bin/$(TARGET_CC) -Wall $(PKG_BUILD_DIR)/capture.c $(PKG_BUILD_DIR)/client.c $(PKG_BUILD_DIR)/commands.c $(PKG_BUILD_DIR)/properties.c $(PKG_BUILD_DIR)/ptp-utils.c $(PKG_BUILD_DIR)/server.c $(PKG_BUILD_DIR)/viewfinder.c -lusb -lptp2 -o $(PKG_INSTALL_DIR)/capture
install
cd $(PKG_BUILD_DIR)
$(TOOLCHAIN_DIR)/bin/$(TARGET_CC) $(CFLAGS) $(DEFINES) $(LDLIBS) -o $(PKG_BUILD_DIR)/capture
endef
 
define Package/capture/install