Initial Commit
This commit is contained in:
commit
7f2da61313
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal 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
31
Makefile
Normal 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
27
README.md
Normal 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
0
bin/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user