File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 3
3
* .dll
4
4
* .o
5
5
* .d
6
+
7
+ # msvc
8
+ * .obj
9
+ * .lib
10
+ * .exp
Original file line number Diff line number Diff line change
1
+ OBJ = src/luasimdjson.obj src/simdjson.obj
2
+ CPPFLAGS = -I$(LUA_INCDIR)
3
+ CXXFLAGS = -EHsc -std:c++17 $(CFLAGS)
4
+ LDFLAGS = $(LIBFLAG)
5
+
6
+ !ifdef LUA_LIBDIR
7
+ LDLIBS = $(LUA_LIBDIR)/$(LUALIB)
8
+ !endif
9
+
10
+ TARGET = simdjson.dll
11
+
12
+ all: $(TARGET)
13
+
14
+ src/luasimdjson.obj: src/luasimdjson.h src/simdjson.h
15
+ src/simdjson.obj: src/simdjson.h
16
+
17
+ .cpp.obj::
18
+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -Fo:"src\\"
19
+
20
+ $(TARGET): $(OBJ)
21
+ $(LD) $(LDFLAGS) $** -out:$@ $(LDLIBS)
22
+
23
+ clean:
24
+ del *.dll src\*.obj *.lib *.exp 2>nul
25
+
26
+ install: $(TARGET)
27
+ copy $(TARGET) $(INST_LIBDIR)
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ build = {
36
36
build_variables = {
37
37
LUA_LIBDIR = " $(LUA_LIBDIR)" ,
38
38
LUALIB = " $(LUALIB)" ,
39
+ LD = " $(LD)" ,
39
40
}
40
41
}
41
42
}
You can’t perform that action at this time.
0 commit comments