summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: c819fb073fcd1176c0c1bcdfee32db07fc2fb54e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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 $(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 $(WINLIBS)

im:
	@$(TECMAKE_CMD)
im_jp2:
	@$(TECMAKE_CMD) MF=im_jp2
im_avi:
	@$(TECMAKE_CMD) MF=im_avi
im_process:
	@$(TECMAKE_CMD) MF=im_process
im_fftw:
	@$(TECMAKE_CMD) MF=im_fftw
imlua3:
	@$(TECMAKE_CMD) MF=imlua3
imlua5:
	@$(TECMAKE_CMD) MF=imlua5
imlua_jp2:
	@$(TECMAKE_CMD) MF=imlua_jp2
imlua_avi:
	@$(TECMAKE_CMD) MF=imlua_avi
imlua_process5:
	@$(TECMAKE_CMD) MF=imlua_process5
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