aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.dir-locals.el3
-rw-r--r--Makefile7
2 files changed, 6 insertions, 4 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 18eda90..65d846b 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,5 +1,6 @@
((nil . ((compile-command . "make -j -O -k ")))
(c-mode . ((mode . c++)))
- (c++-mode . ((flycheck-gcc-include-path . ("C:/Program Files/swipl/include"))
+ (c++-mode . ((flycheck-gcc-include-path . ("C:/Program Files/swipl/include"
+ "C:/msys64/mingw64/include/libxml2"))
(flycheck-gcc-definitions . ("UNICODE" "_UNICODE"))
(flycheck-gcc-language-standard . "c++17"))))
diff --git a/Makefile b/Makefile
index d2c6a2f..e5c2c14 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,11 @@ PL = pl/cfg.pl pl/episode_data.pl pl/local_episodes.pl pl/track_episodes.pl
CL = swipl-ld
CLFLAGS = -DUNICODE -D_UNICODE
-CLFLAGS += -cc-options,-std=c++17 -O2
-CLFLAGS += -Wall -Wextra -Wpedantic -Wno-missing-field-initializers -Wno-parentheses
-CLFLAGS += -ld-options,-mwindows,-static-libstdc++ -lcomctl32 -lwininet
CLFLAGS += -DDEBUG
+CLFLAGS += -cc-options,-std=c++17 -O0
+CLFLAGS += -ld-options,-mwindows,-static-libstdc++ -lcomctl32 -lwininet -llibxml2
+CLFLAGS += -IC:/msys64/mingw64/include/libxml2
+CLFLAGS += -Wall -Wextra -Wpedantic -Wno-missing-field-initializers -Wno-parentheses
all: showdeps b/$(EXE)
cp b/$(EXE) "C:\Users\John\Desktop\Delat"