about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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)