1
# Cygwin/Linux-GCC Makefile
2
# (C) 2007, Photonfocus AG
4
# $Id: Makefile,v 1.4 2008-12-19 10:16:24 hofmann Exp $
6
# This is the GNU Makefile to compile a user comdll
7
# to handle the interface with the frame grabber
11
# make clean remove the library and object file
12
# make all to create the comdll_fg library
14
############################################################################
18
#This variables should not be changed
19
DLLCSRCS = comdll_fg.c
21
OPTIMIZATIONS = -finline-functions#-O2
24
############################################################################
25
#frame grabber settings
26
#please change this settings for your frame grabber
28
#for Leutron frame grabber
29
#FG_DIR = /usr/lib/lvsds
30
#DLLDEPS = -L$(FG_DIR) -llvdsy
33
#FG_DIR = /siso/menable/lib
34
#DLLDEPS = -L$(FG_DIR) -lsiso20 -lclserme3
38
#DLLDEPS = -L$(FG_DIR) -lclseremc1
40
############################################################################
42
gcc -o comdll_fg.o -c $(DLLCSRCS) $(INCLUDES) $(OPTIMIZATIONS) -Wall -fPIC
43
gcc -shared -o libcomdll_fg.so comdll_fg.o -lm $(DLLDEPS) -Wl,-E