summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile43
1 files changed, 24 insertions, 19 deletions
diff --git a/src/Makefile b/src/Makefile
index 1ef8771..fc69f09 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,42 +1,47 @@
+ifeq ($(OS), Windows_NT)
+ TECMAKE_CMD = $(MAKE) --no-print-directory -f tecmakewin.mak TEC_UNAME=$(TEC_UNAME)
+else
+ TECMAKE_CMD = $(MAKE) --no-print-directory -f tecmake.mak
+endif
.PHONY: do_all cd_freetype cd_ftgl cd cdx11 cdgdk cd_pdflib cdpdf cdgl cdcontextplus cdcairo cdlua3 cdluapdf3 cdluagl3 cdlua5 cdluapdf5 cdluagl5 cdluacontextplus5 cdluacairo5 cdluaim5
do_all: cd_freetype cd_ftgl cd cd_pdflib cdpdf cdgl cdlua5 cdluapdf5 cdluagl5 cdluaim5
cd_freetype:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cd_freetype
+ @$(TECMAKE_CMD) MF=cd_freetype
cd_ftgl:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cd_ftgl
+ @$(TECMAKE_CMD) MF=cd_ftgl
cd:
- @$(MAKE) --no-print-directory -f tecmake.mak
+ @$(TECMAKE_CMD)
cdx11:
- @$(MAKE) --no-print-directory -f tecmake.mak USE_X11=Yes
+ @$(TECMAKE_CMD) USE_X11=Yes
cdgdk:
- @$(MAKE) --no-print-directory -f tecmake.mak USE_GDK=Yes
+ @$(TECMAKE_CMD) USE_GDK=Yes
cd_pdflib:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cd_pdflib
+ @$(TECMAKE_CMD) MF=cd_pdflib
cdpdf:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdpdf
+ @$(TECMAKE_CMD) MF=cdpdf
cdgl:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdgl
+ @$(TECMAKE_CMD) MF=cdgl
cdcontextplus:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdcontextplus
+ @$(TECMAKE_CMD) MF=cdcontextplus
cdcairo:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdcairo
+ @$(TECMAKE_CMD) MF=cdcairo
cdlua3:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdlua3
+ @$(TECMAKE_CMD) MF=cdlua3
cdluapdf3:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdluapdf3
+ @$(TECMAKE_CMD) MF=cdluapdf3
cdluagl3:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdluagl3
+ @$(TECMAKE_CMD) MF=cdluagl3
cdlua5:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdlua5
+ @$(TECMAKE_CMD) MF=cdlua5
cdluapdf5:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdluapdf5
+ @$(TECMAKE_CMD) MF=cdluapdf5
cdluagl5:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdluagl5
+ @$(TECMAKE_CMD) MF=cdluagl5
cdluacontextplus5:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdluacontextplus5
+ @$(TECMAKE_CMD) MF=cdluacontextplus5
cdluacairo5:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdluacairo5
+ @$(TECMAKE_CMD) MF=cdluacairo5
cdluaim5:
- @$(MAKE) --no-print-directory -f tecmake.mak MF=cdluaim5
+ @$(TECMAKE_CMD) MF=cdluaim5