From e09f5c6a811ded4bdec898ebcfd383c7e6eb512c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 30 Apr 2016 03:30:09 -0400 Subject: link against libvt100 statically --- Makefile | 8 ++++---- libvt100 | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 99a5289..271e681 100644 --- a/Makefile +++ b/Makefile @@ -14,17 +14,17 @@ CFLAGS ?= -g -Wall -Wextra -Werror LDFLAGS ?= -g -Wall -Wextra -Werror ALLCFLAGS = $(shell pkg-config --cflags $(LIBS)) -Ilibvt100/src $(CFLAGS) -ALLLDFLAGS = $(shell pkg-config --libs $(LIBS)) -Llibvt100 -lvt100 $(LDFLAGS) +ALLLDFLAGS = $(shell pkg-config --libs $(LIBS)) $(LDFLAGS) MAKEDEPEND = $(CC) $(ALLCFLAGS) -M -MP -MT '$@ $(@:$(BUILD)%.o=$(BUILD).%.d)' build: $(OUT) -$(OUT): $(OBJ) libvt100/libvt100.so +$(OUT): $(OBJ) libvt100/libvt100.a $(CC) $(ALLLDFLAGS) -o $@ $^ -libvt100/libvt100.so: - cd libvt100 && make +libvt100/libvt100.a: + cd libvt100 && make static $(BUILD)%.o: $(SRC)%.c @mkdir -p $(BUILD) diff --git a/libvt100 b/libvt100 index c59da47..a9bb204 160000 --- a/libvt100 +++ b/libvt100 @@ -1 +1 @@ -Subproject commit c59da47832a34a016da82782ff39dc83b0c3890f +Subproject commit a9bb204743db4ea59c92144f47569d40c0789fb5 -- cgit v1.2.3