aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2009-11-25 14:36:44 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2009-11-25 14:36:44 +0000
commitade9d760d36d16a308096972ad1b91bd4aa3201e (patch)
tree07fd6f39a598931c70e64ac05fe0a7a17a4e621c /Makefile
parent7d5b64ff3d588d8dddf0588e55200513bd59aee9 (diff)
downloadtermo-ade9d760d36d16a308096972ad1b91bd4aa3201e.tar.gz
termo-ade9d760d36d16a308096972ad1b91bd4aa3201e.tar.xz
termo-ade9d760d36d16a308096972ad1b91bd4aa3201e.zip
Supply --tag=CC to libtool to inform it we're a C library; in case it doesn't detect that (mumble openbsd mumble)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8836e7f..fb02d43 100644
--- a/Makefile
+++ b/Makefile
@@ -27,16 +27,16 @@ OBJECTS=termkey.lo driver-csi.lo driver-ti.lo
LIBRARY=libtermkey.la
%.lo: %.c termkey.h termkey-internal.h
- $(LIBTOOL) --mode=compile gcc $(CFLAGS) $(CFLAGS_DEBUG) -Wall -std=c99 -o $@ -c $<
+ $(LIBTOOL) --mode=compile --tag=CC gcc $(CFLAGS) $(CFLAGS_DEBUG) -Wall -std=c99 -o $@ -c $<
$(LIBRARY): $(OBJECTS)
- $(LIBTOOL) --mode=link gcc -rpath $(LIBDIR) -version-info $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE) -lncurses -o $@ $^
+ $(LIBTOOL) --mode=link --tag=CC gcc -rpath $(LIBDIR) -version-info $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE) -lncurses -o $@ $^
demo: $(LIBRARY) demo.lo
- $(LIBTOOL) --mode=link gcc -o $@ $^
+ $(LIBTOOL) --mode=link --tag=CC gcc -o $@ $^
demo-async: $(LIBRARY) demo-async.lo
- $(LIBTOOL) --mode=link gcc -o $@ $^
+ $(LIBTOOL) --mode=link --tag=CC gcc -o $@ $^
.PHONY: clean
clean: