Initial Commit

This commit is contained in:
Clortox 2021-07-23 19:18:13 -04:00
commit 7f2da61313
4 changed files with 67 additions and 0 deletions

9
.gitignore vendored Normal file
View File

@ -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

31
Makefile Normal file
View File

@ -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)

27
README.md Normal file
View File

@ -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
=====

0
bin/.gitkeep Normal file
View File