diff options
author | epochqwert <epoch@hacking.allowed.org> | 2015-03-31 12:54:01 -0500 |
---|---|---|
committer | epochqwert <epoch@hacking.allowed.org> | 2015-03-31 12:54:01 -0500 |
commit | 5fc8d2a2fbbe55fb3f92c4edd216f9e96d21a288 (patch) | |
tree | 8aecb5ad9887edf3d5261ebe0cc5f2263497fa87 /Makefile | |
download | libhashtable-5fc8d2a2fbbe55fb3f92c4edd216f9e96d21a288.tar.gz libhashtable-5fc8d2a2fbbe55fb3f92c4edd216f9e96d21a288.zip |
init commit after splitting from segfault
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6649739 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +LDFLAGS=-lhashtable -Llibhashtable +CFLAGS=-fpic -shared -pedantic -Wall +TARGET=libhashtable.so + +all: $(TARGET) + +$(TARGET): + $(CC) $(CFLAGS) -o $(TARGET) libhashtable.c + +clean: + rm -f libhashtable.so + +install: + cp $(TARGET) /usr/local/lib/$(TARGET) + cp hashtable.h /usr/local/include/hashtable.h |