### why the fuck is this here? LDFLAGS=-lhashtable -Llibhashtable CFLAGS=-fpic -shared -pedantic -Wall -g3 PREFIX:=/usr/local TARGET=libhashtable.so .PHONY: all clean install uninstall all: $(TARGET) libhashtable.h: ./genheader.sh $(TARGET): libhashtable.o ld -shared -o $(TARGET) libhashtable.o clean: rm -f libhashtable.so rm *.o install: all mkdir -p $(PREFIX)/lib mkdir -p $(PREFIX)/include install -t $(PREFIX)/lib $(TARGET) install -t $(PREFIX)/include hashtable.h uninstall: rm $(PREFIX)/lib/$(TARGET) rm $(PREFIX)/include/hashtable.h