Sha256: a8fb9102879e65c9d7f6b8780c5b0a02dbc252a2a6a1e1b1940fec9ee8ff92ab

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

# this Makefile is used by ext/nokogiri/extconf.rb
# to enable a mini_portile2 recipe to build the gumbo parser
.PHONY: clean

override CFLAGS += -std=c99 -Wall

# allow the ENV var to override this
RANLIB ?= ranlib

gumbo_objs := $(patsubst %.c,%.o,$(wildcard *.c))

libgumbo.a: $(gumbo_objs)
	$(AR) $(ARFLAGS) $@ $^
	- ($(RANLIB) $@ || true) >/dev/null 2>&1

clean:
	rm -f $(gumbo_objs) libgumbo.a

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nokogiri-1.12.0 gumbo-parser/src/Makefile
nokogiri-1.12.0.rc1 gumbo-parser/src/Makefile