Updated README and pruned Makefile

This commit is contained in:
Emil 2023-08-07 08:37:57 -06:00
commit dfb66e84d8
No known key found for this signature in database
GPG Key ID: 5432DB986FDBCF8A
3 changed files with 9 additions and 4 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ config.h
*.sqlite *.sqlite
build.sh build.sh
Makefile Makefile
install

View File

@ -1,5 +1,6 @@
# note that this file does not properly handle options # note that this file does not properly handle options
PROGN:=probotic PROGN:=probotic
CFLAGS:=-std=c99 -Wall -Wextra -Wpedantic -Wvla -Wshadow -Wundef CFLAGS:=-std=c99 -Wall -Wextra -Wpedantic -Wvla -Wshadow -Wundef
@ -27,9 +28,7 @@ ifeq (${ENABLE_SSL},1)
LDLIBS += -lssl -lcrypto LDLIBS += -lssl -lcrypto
endif endif
all: include/config.h ${PROGN} ${PROGN}: include/config.h ${HDR} ${SRC}
${PROGN}: ${HDR} ${SRC}
${LINK.c} -pipe ${LIB} src/unity.c -o $@ ${LDLIBS} ${LINK.c} -pipe ${LIB} src/unity.c -o $@ ${LDLIBS}
# do nothing but update them... # do nothing but update them...
@ -41,4 +40,4 @@ include/config.h: config.mk.h
clean: clean:
-rm ${OBJ} -rm ${OBJ}
.PHONY: all submodules clean .PHONY: clean

View File

@ -26,6 +26,11 @@ make && BOOTSTRAP_ONLY=1 ./install.sh
remove BOOTSTRAP_ONLY=1 if you plan to install this somewhere. 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 * Source Code Hosts
https://git.lain.church/emil/probotic https://git.lain.church/emil/probotic