diff --git a/Jenkinsfile b/Jenkinsfile index 54492e4..638ea68 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,7 @@ pipeline { } steps { sh("git submodule update --init --recursive --force") - sh("make -j4 CC='owcc -bnt' E=.exe") + sh("make -j4 -f Makefile.watcom") sh("mv taiga.exe taiga-win32.exe") archiveArtifacts("taiga-win32.exe") } diff --git a/Makefile b/Makefile index 3783c8e..9c27fb8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ -CC = cc -CFLAGS = -I external/xemil/include -I src -LDFLAGS = -LIBS = +CC ?= cc +CFLAGS ?= -I external/xemil/include -I src +LDFLAGS ?= +LIBS ?= + +E ?= .PHONY: all format clean diff --git a/Makefile.watcom b/Makefile.watcom new file mode 100644 index 0000000..220c2d9 --- /dev/null +++ b/Makefile.watcom @@ -0,0 +1,4 @@ +CC = owcc -bnt +E = .exe + +include Makefile