commit 7f2da6131347898cc9719a0e930f3c7f9c0b792c Author: Clortox Date: Fri Jul 23 19:18:13 2021 -0400 Initial Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e4febf2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +#ignore all .o files +src/**/*.o + +#ignore all swp files +**/*.swp + +#ignore all executables, but still keep the bin folder +bin/* +!bin/.gitkeep diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5e3c4ee --- /dev/null +++ b/Makefile @@ -0,0 +1,31 @@ +############################################################################### +# Tyler Perkins +# 7-21-21 +# Makefile +# + +CC = g++ + +FLAGS = -pipe + +CFLAGS = -Wall +CFLAGS += -Ofast +#CFLAGS += -g + +LIBRARIES = -lcurl + +SRC = $(shell find . -name '*.cpp') +OBJ = $(subst .cpp,.o,$(SRC)) +BIN = ./bin + +TARGET = $(BIN)/rss-cli + +all : $(OBJ) + $(CC) $(FLAGS) $(CFLAGS) -o $(TARGET) $(OBJ) $(LIBRARIES) + +.cpp.o : + $(CC) $(FLAGS) $(CFLAGS) $(LIBRARIES) -c $< -o $@ + +clean : + find . -type f -name '*.o' -delete + rm -rf $(TARGET) diff --git a/README.md b/README.md new file mode 100644 index 0000000..5cd8e2a --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +rss-cli +======= + +A unix-inspired cli application for interacting with rss feeds + +Build +===== + +Depends on +---------- + +- rapidxml +- libcurl + +To build +--------- + +`make all` + +To install +----------- + +`make install` + +Usage +===== + diff --git a/bin/.gitkeep b/bin/.gitkeep new file mode 100644 index 0000000..e69de29