diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-04-30 03:30:09 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-04-30 03:30:09 -0400 |
commit | e09f5c6a811ded4bdec898ebcfd383c7e6eb512c (patch) | |
tree | 14e019294efbf5ca5e236a21d77008f4d4524aaa | |
parent | dbf97387fec55692882cf093ddaf4037ca018da1 (diff) | |
download | runes-e09f5c6a811ded4bdec898ebcfd383c7e6eb512c.tar.gz runes-e09f5c6a811ded4bdec898ebcfd383c7e6eb512c.zip |
link against libvt100 statically
-rw-r--r-- | Makefile | 8 | ||||
m--------- | libvt100 | 0 |
2 files changed, 4 insertions, 4 deletions
@@ -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 |