summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-05-15 02:51:25 -0500
committerepoch <epoch@hacking.allowed.org>2020-05-15 02:51:25 -0500
commita6c1f8c35263b3d94acfe6e187c8d993aba0cff1 (patch)
tree494c67a2ee00ba97858d3331056eedba87874b0a /Makefile
parent611150ef5965e4b1ea4e571e96a59dda623ee74c (diff)
parentb7529998c9a4f68fd797becbba8623266025d728 (diff)
downloadlibhashtable-a6c1f8c35263b3d94acfe6e187c8d993aba0cff1.tar.gz
libhashtable-a6c1f8c35263b3d94acfe6e187c8d993aba0cff1.zip
Merge branch 'master' of ssh://21.41.41.1/~/libhashtable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9b86af1..e6d30cd 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,8 @@ CFLAGS=-pedantic -Wall -g3
PREFIX:=/usr/local
TARGET=libhashtable.so
+.PHONY: all clean install uninstall
+
all: $(TARGET)
libhashtable.h:
@@ -19,8 +21,8 @@ clean:
install: all
mkdir -p $(PREFIX)/lib
mkdir -p $(PREFIX)/include
- install $(TARGET) $(PREFIX)/lib/$(TARGET)
- install hashtable.h $(PREFIX)/include/hashtable.h
+ install -t $(PREFIX)/lib $(TARGET)
+ install -t $(PREFIX)/include hashtable.h
uninstall:
rm $(PREFIX)/lib/$(TARGET)