You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
887 B
33 lines
887 B
|
|
include Makefile.config
|
|
|
|
USE_VFW = 1
|
|
TARGET = $(APP).exe
|
|
CPP = g++
|
|
CPPFLAGS = -ggdb -Wall -O0 `pkg-config --cflags gtk+-3.0 gmodule-export-2.0` -Wl,--export-dynamic -DBUILD_WINDOWS=1 -Wdeprecated -D_POSIX_C_SOURCE=200112L
|
|
#CPPFLAGS = -Wall -O3 `pkg-config --cflags gtk+-3.0 gmodule-export-2.0` -Wl,--export-dynamic -DBUILD_WINDOWS=1 -Wdeprecated -D_POSIX_C_SOURCE=200112L
|
|
INCLUDES =
|
|
LDFLAGS = -lws2_32 -ljpeg
|
|
LIBS = `pkg-config --libs gtk+-3.0 gmodule-export-2.0` -L/usr/lib -mwindows
|
|
|
|
OBJECTS := $(OBJECTS) windows.oo
|
|
|
|
#
|
|
# add makefile configuration for svbony cams
|
|
#
|
|
ifeq ($(USE_SVBONY),1)
|
|
CPPFLAGS := $(CPPFLAGS) -I/usr/local/include
|
|
LDFLAGS := $(LDFLAGS) -lSVBCameraSDK -L/usr/local/lib
|
|
OBJECTS := $(OBJECTS) videodev-svbcam.oo
|
|
endif
|
|
#
|
|
|
|
#
|
|
# add makefile configuration for vfw cams
|
|
#
|
|
ifeq ($(USE_VFW),1)
|
|
OBJECTS := $(OBJECTS) videodev-vfw.oo
|
|
LDFLAGS := $(LDFLAGS) -lvfw32
|
|
endif
|
|
#
|