added make uninstall
@@ -96,8 +96,9 @@ install:
cp *.hdll $(INSTALL_DIR)/lib
cp src/hl.h src/hlc.h src/hlc_main.c $(INSTALL_DIR)/include
-install_lib:
- cp libhl.${LIBEXT} /usr/local/lib
+uninstall:
+ rm -f $(INSTALL_DIR)/bin/hl $(INSTALL_DIR)/lib/libhl.${LIBEXT} $(INSTALL_DIR)/lib/*.hdll
+ rm -f $(INSTALL_DIR)/include/hl.h $(INSTALL_DIR)/include/hlc.h $(INSTALL_DIR)/include/hlc_main.c
libs: fmt sdl ssl openal ui uv
