diff options
author | scuri <scuri> | 2010-11-09 02:30:16 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-11-09 02:30:16 +0000 |
commit | e9981554bfa9b36800d2d2c9aedcad4dae97b60c (patch) | |
tree | 685df9df60f5d15aafaf92f25c1066fddf472755 /src/Makefile | |
parent | 956d02af88db8d76262a30274bb4fecf47645c5f (diff) |
*** empty log message ***
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 43 |
1 files changed, 32 insertions, 11 deletions
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 |