File tree Expand file tree Collapse file tree 5 files changed +16
-155
lines changed Expand file tree Collapse file tree 5 files changed +16
-155
lines changed Original file line number Diff line number Diff line change 11OSFLAG :=
22MS :=
3+ QLIB :=
4+ QLIBS :=
35
46ifeq ($(OS),Windows_NT)
57 OSFLAG = w
8+ QLIB = e_static
9+ QLIBS = .lib
610 ifeq "$(WIN)" "64"
711 MS = 64
812 else
2428 ifeq ($(SUB_UNAME), MINGW32)
2529 OSFLAG = w
2630 endif
27- MS=$(shell getconf LONG_BIT) # 32/64
31+ MS=$(shell getconf LONG_BIT)
32+ QLIB=e
33+ QLIBS=.o
2834endif
2935QARCH=$(OSFLAG)$(MS)
3036
3137PKG_CFLAGS=-D_GNU_SOURCE
3238ifeq ($(OSFLAG),w)
33- PKG_LIBS=-L$(QARCH) -le_static -lws2_32 -liphlpapi
39+ PKG_LIBS=-L. -l$(QLIB) -lws2_32 -liphlpapi
3440else
35- PKG_LIBS=$(addsuffix /e.o,$(QARCH) )
41+ PKG_LIBS=$(QLIB)$(QLIBS )
3642endif
37- OBJECTS=rkdb.o
43+ OBJECTS=rkdb.o
44+ .PHONY: all lib k.h
45+ all: k.h lib
46+ lib:
47+ curl -O -J -L https://github.com/KxSystems/kdb/raw/master/$(QARCH)/$(QLIB)$(QLIBS)
48+ k.h:
49+ curl -O -J -L https://github.com/KxSystems/kdb/raw/master/c/c/k.h
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments