diff options
author | Epoch Qwert <epoch@53flpnlls43fcguy.onion> | 2014-09-07 02:37:46 -0500 |
---|---|---|
committer | Epoch Qwert <epoch@53flpnlls43fcguy.onion> | 2014-09-07 02:37:46 -0500 |
commit | f41ec6d42942f994f762486a9ab525ed8c5506e5 (patch) | |
tree | 2834f14db4cdac0a8efb9bb810741af2d38e287d /libhashtable/Makefile | |
parent | 5b723a9da5b94d3a99225f43c7dafcffa1f7676b (diff) | |
download | segfault-f41ec6d42942f994f762486a9ab525ed8c5506e5.tar.gz segfault-f41ec6d42942f994f762486a9ab525ed8c5506e5.zip |
took the hashtable stuff out of segfault and put it into a library. good idea? dunno.
Diffstat (limited to 'libhashtable/Makefile')
-rw-r--r-- | libhashtable/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libhashtable/Makefile b/libhashtable/Makefile new file mode 100644 index 0000000..7def401 --- /dev/null +++ b/libhashtable/Makefile @@ -0,0 +1,14 @@ +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) |