diff options
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) |