mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-24 05:18:04 -05:00
Merge pull request #445 from bungle/master
Lua Wrappers: Removed unneeded lines from Makefile.
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
include lualib.mk
|
||||
|
||||
COOLPROP_CFLAGS ?= $(shell $(PKGCONFIG) --cflags CoolProp)
|
||||
COOLPROP_LDFLAGS ?= $(shell $(PKGCONFIG) --libs-only-L CoolProp)
|
||||
COOLPROP_LDLIBS ?= $(or $(shell $(PKGCONFIG) --libs-only-l CoolProp), -lCoolProp)
|
||||
COOLPROP_INCDIR ?= $(shell $(PKGCONFIG) --variable=includedir CoolProp)
|
||||
COOLPROP_LIBDIR ?= $(shell $(PKGCONFIG) --variable=libdir CoolProp)
|
||||
COOLPROP_HEADER ?= $(or $(COOLPROP_INCDIR)
|
||||
|
||||
CFLAGS ?= -g -O2 -Wall -Wextra -Wswitch-enum -Wwrite-strings -Wshadow
|
||||
XCFLAGS += -std=c99 -pedantic-errors -fPIC
|
||||
XCFLAGS += $(LUA_CFLAGS) $(COOLPROP_CFLAGS)
|
||||
XLDFLAGS += $(GUMBO_LDFLAGS) $(COOLPROP_LDLIBS)
|
||||
|
||||
all: coolprop/capi.so
|
||||
|
||||
|
||||
Reference in New Issue
Block a user