Changes

Jump to: navigation, search

Top Solo

156 bytes removed, 14:43, 7 February 2013
Modified Makefile for Profiling
gmic
 
 
endif
 
 
#--------------------------------------------------
 
 
endif
 
 
CIMG_DEBUG_CFLAGS = -Dcimg_verbosity=3 -Dcimg_strict_warnings -g
 
 
CIMG_VT100_CFLAGS = -Dcimg_use_vt100
 
 
endif
 
 
endif
 
 
CIMG_OPENCV_LDFLAGS = -lcv -lhighgui
 
 
CIMG_NODISPLAY_CFLAGS = -Dcimg_display=0
 
 
CIMG_X11_LDFLAGS = -L$(X11PATH)/lib -lpthread -lX11
 
 
CIMG_XSHM_LDFLAGS = # -lXext
 
 
 
# Flags to enable GDI32 display (Windows native).
CIMG_GDI32_LDFLAGS = -lgdi32
 
 
CIMG_XRANDR_LDFLAGS = -lXrandr
 
 
CIMG_PNG_LDFLAGS = -lpng -lz
 
 
CIMG_JPEG_LDFLAGS = -ljpeg
 
 
CIMG_TIFF_LDFLAGS = -ltiff
 
 
CIMG_MINC2_LDFLAGS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz -L${HOME}/local/lib
 
 
CIMG_EXR_LDFLAGS = -lIlmImf -lHalf
 
 
CIMG_FFMPEG_LDFLAGS = -lavcodec -lavformat -lswscale
 
 
CIMG_ZLIB_LDFLAGS = -lz
 
 
CIMG_MAGICK_LDFLAGS = `Magick++-config --ldflags` `Magick++-config --libs`
 
 
endif
 
 
CIMG_LAPACK_LDFLAGS = -lblas -lg2c -llapack
 
 
CIMG_BOARD_LDFLAGS = -lboard
 
 
CIMG_SOLARIS_LDFLAGS = -R$(X11PATH)/lib -lrt -lnsl -lsocket
 
 
endif
 
 
@read CHOICE; echo; $(MAKE) $$CHOICE; echo; echo "> Next time, you can bypass the menu by typing directly 'make $$CHOICE'"; echo;
 
 
all: $(CIMG_FILES)
 
 
endif
 
 
$(CC) -o gmic_gimp.o -c gmic.cpp -Dcimg_build -Dgmic_gimp -Dgmic_float_only $(CIMG_OPT_CFLAGS) $(CIMG_FFTW3_CFLAGS) $(CIMG_PNG_CFLAGS)
 
 
$(CC) -o gmic_double.o -c gmic.cpp -Dcimg_build -Dgmic_split_compilation -Dgmic_double $(CFLAGS) $(CONF_CFLAGS)
 
 
gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(CFLAGS) $(CONF_CFLAGS) $(CONF_LDFLAGS) $(LDFLAGS)
 
 
$(CC) -o $(EXEPFX)gmic gmic.cpp -Dgmic_main -Dgmic_float_only -Dcimg_build -Dcimg_use_fftw3 -Dcimg_use_png -Dcimg_display=1 -I/usr/X11R6/include -g -W -Wall -ansi -pedantic -L/usr/X11R6/lib -lX11 -lpthread -lfftw3 -lpng -lz
 
 
endif
 
 
all
 
 
all
 
 
all
 
 
 
mlinux:
all
 
 
 
Mlinux:
all $(CIMG_EXTRA_FILES)
 
 
all
 
 
all
 
 
all
 
 
all
 
 
all
 
 
all $(CIMG_EXTRA_FILES)
 
 
 
 
#-----------------
 
# End of makefile
 
#-----------------
 
</pre></big>
1
edit

Navigation menu