about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorlatex <latex@disroot.org>2023-02-01 00:29:52 +0100
committerlatex <latex@disroot.org>2023-02-01 00:29:52 +0100
commitb8cac02d8a7261c537989fd841f9c46331263ec5 (patch)
tree401ef48e48135b5e27108a2a6ea3fd7abb58ac2e
parent5d54ace5589675d49bb13a6754e17b5c08e805e2 (diff)
downloadlibumumble-b8cac02d8a7261c537989fd841f9c46331263ec5.tar.gz
fix Makefile
-rw-r--r--Makefile3
-rw-r--r--config.mk1
2 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b5ee9c8..c0bf149 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ clean:
 	$(MAKE) -C tests clean
 
 install-header:
-	install -m 644 $(H)
+	install -m 644 $(H) $(PREFIX)/include
 
 install-static: $(SNAME)
 	install -m 755 $(SNAME) $(PREFIX)/lib64
@@ -48,4 +48,3 @@ install-shared: $(DNAME)
 	install -m 755 $(DNAME) $(PREFIX)/lib64
 
 install: install-header install-static install-shared
-
diff --git a/config.mk b/config.mk
index 43aa85a..6c0501d 100644
--- a/config.mk
+++ b/config.mk
@@ -4,7 +4,6 @@ NAME = libumumble
 SNAME = $(NAME).a
 DNAME = $(NAME).so
 
-CC = gcc
 CFLAGS = -W -Wall -Wvla -std=gnu99 -g -fPIC
 CFLAGS += $(shell pkg-config --cflags libuv)
 LDLIBS = $(shell pkg-config --libs libuv)