diff --git a/.gitignore b/.gitignore index 34e05fb..783a3eb 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ config.h *.sqlite build.sh Makefile +install diff --git a/Makefile b/Makefile index af9426c..e0ba189 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ # note that this file does not properly handle options + PROGN:=probotic CFLAGS:=-std=c99 -Wall -Wextra -Wpedantic -Wvla -Wshadow -Wundef @@ -27,9 +28,7 @@ ifeq (${ENABLE_SSL},1) LDLIBS += -lssl -lcrypto endif -all: include/config.h ${PROGN} - -${PROGN}: ${HDR} ${SRC} +${PROGN}: include/config.h ${HDR} ${SRC} ${LINK.c} -pipe ${LIB} src/unity.c -o $@ ${LDLIBS} # do nothing but update them... @@ -41,4 +40,4 @@ include/config.h: config.mk.h clean: -rm ${OBJ} -.PHONY: all submodules clean +.PHONY: clean diff --git a/README.md b/README.md index 0a0c647..ad5d909 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,11 @@ make && BOOTSTRAP_ONLY=1 ./install.sh remove BOOTSTRAP_ONLY=1 if you plan to install this somewhere. +** Cleanup + +make clean +rm -rf lib/libircclient bootstrap/probotic_data.sqlite + * Source Code Hosts https://git.lain.church/emil/probotic