aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-04-30 03:30:09 -0400
committerJesse Luehrs <doy@tozt.net>2016-04-30 03:30:09 -0400
commite09f5c6a811ded4bdec898ebcfd383c7e6eb512c (patch)
tree14e019294efbf5ca5e236a21d77008f4d4524aaa
parentdbf97387fec55692882cf093ddaf4037ca018da1 (diff)
downloadrunes-e09f5c6a811ded4bdec898ebcfd383c7e6eb512c.tar.gz
runes-e09f5c6a811ded4bdec898ebcfd383c7e6eb512c.zip
link against libvt100 statically
-rw-r--r--Makefile8
m---------libvt1000
2 files changed, 4 insertions, 4 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
-Subproject c59da47832a34a016da82782ff39dc83b0c3890
+Subproject a9bb204743db4ea59c92144f47569d40c0789fb