From e9981554bfa9b36800d2d2c9aedcad4dae97b60c Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 9 Nov 2010 02:30:16 +0000 Subject: *** empty log message *** --- src/Makefile | 43 ++++++++++++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 11 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 844417f..c819fb0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,23 +1,44 @@ +ifeq ($(OS), Windows_NT) + TECMAKE_CMD = $(MAKE) --no-print-directory -f tecmakewin.mak TEC_UNAME=$(TEC_UNAME) + WINLIBS = im_avi im_wmv imlua_avi imlua_wmv im_capture imlua_capture5 +else + TECMAKE_CMD = $(MAKE) --no-print-directory -f tecmake.mak +endif -.PHONY: do_all im im_jp2 im_process im_fftw imlua3 imlua5 imlua_jp2 imlua_process5 imlua_fftw5 +.PHONY: do_all im im_jp2 im_process im_fftw imlua3 imlua5 imlua_jp2 imlua_process5 imlua_fftw5 $(WINLIBS) #do_all: im im_jp2 im_process im_fftw imlua3 imlua5 imlua_jp2 imlua_process5 imlua_fftw5 -do_all: im im_jp2 im_process im_fftw imlua5 imlua_jp2 imlua_process5 imlua_fftw5 +do_all: im im_jp2 im_process im_fftw imlua5 imlua_jp2 imlua_process5 imlua_fftw5 $(WINLIBS) im: - $(MAKE) --no-print-directory -f tecmake.mak + @$(TECMAKE_CMD) im_jp2: - @$(MAKE) --no-print-directory -f tecmake.mak MF=im_jp2 + @$(TECMAKE_CMD) MF=im_jp2 +im_avi: + @$(TECMAKE_CMD) MF=im_avi im_process: - @$(MAKE) --no-print-directory -f tecmake.mak MF=im_process + @$(TECMAKE_CMD) MF=im_process im_fftw: - @$(MAKE) --no-print-directory -f tecmake.mak MF=im_fftw + @$(TECMAKE_CMD) MF=im_fftw imlua3: - @$(MAKE) --no-print-directory -f tecmake.mak MF=imlua3 + @$(TECMAKE_CMD) MF=imlua3 imlua5: - @$(MAKE) --no-print-directory -f tecmake.mak MF=imlua5 + @$(TECMAKE_CMD) MF=imlua5 imlua_jp2: - @$(MAKE) --no-print-directory -f tecmake.mak MF=imlua_jp2 + @$(TECMAKE_CMD) MF=imlua_jp2 +imlua_avi: + @$(TECMAKE_CMD) MF=imlua_avi imlua_process5: - @$(MAKE) --no-print-directory -f tecmake.mak MF=imlua_process5 + @$(TECMAKE_CMD) MF=imlua_process5 imlua_fftw5: - @$(MAKE) --no-print-directory -f tecmake.mak MF=imlua_fftw5 + @$(TECMAKE_CMD) MF=imlua_fftw5 + +# WMV and Capture are NOT available in some compilers, +# so this may result in errors, just ignore them. +im_wmv: + @$(TECMAKE_CMD) MF=im_wmv +imlua_wmv: + @$(TECMAKE_CMD) MF=imlua_wmv +im_capture: + @$(TECMAKE_CMD) MF=im_capture +imlua_capture5: + @$(TECMAKE_CMD) MF=imlua_capture5 -- cgit v1.2.3