🐛 fix mingw make error

This commit is contained in:
ValKmjolnir
2023-10-14 21:30:33 +08:00
parent 3362c130d9
commit b1e8ba3c6e
11 changed files with 82 additions and 58 deletions
+4 -2
View File
@@ -1,11 +1,13 @@
STD = c++17
OS = $(shell uname)
ifndef OS
OS = $(shell uname)
endif
ifeq ($(OS), Darwin)
CXXFLAGS = -std=$(STD) -c -O3 -fno-exceptions -fPIC -mmacosx-version-min=10.15
else
CXXFLAGS = -std=$(STD) -c -O3 -fno-exceptions -fPIC
endif
CPPFLAGS = -I .
NASAL_HEADER=\
src/ast_dumper.h\