adjust makefile for a3

This commit is contained in:
Tyler Beckman 2024-10-10 21:15:06 -06:00
parent 0bba075976
commit 62a4f22ca9
Signed by: Ty
GPG key ID: 2813440C772555A4
2 changed files with 7 additions and 6 deletions

View file

@ -8,7 +8,7 @@ SRC_FILES = main.cpp InputProcessor.cpp OutputProcessor.cpp
## Adds only the necessary files for build into a .tar.gz file, named appropriately
ARCHIVED_FILES = Makefile $(SRC_FILES) $(SRC_FILES:.cpp=.h) $(SRC_FILES:.cpp=.hpp)
pack: fmtc
tar --ignore-failed-read -czvf $(TARGET).tar.gz $(shell echo $(ARCHIVED_FILES) | xargs ls -d 2>/dev/null)
tar --ignore-failed-read -czvf $(TARGET).tar.gz {In,Out}putProcessor.{cpp,h}
## Runs the pack target and then attempts to build & run the program to make sure it functions correctly
pack-test: pack

View file

@ -1,10 +1,11 @@
/**
* @author Tyler Beckman (tyler_beckman@mines.edu)
* @brief A3 - A program to parse a text input and analyze it for statistics based on
* word and letter frequency, and then output them to a user-specified file. It
* assumes text is only alphabetical + spaces + the punctuation contained within
* main.cpp. In addition, the list of word counts is sorted using a recursive
* MSD radix sort before being outputted into the specified file.
* @brief A3 - A program to parse a text input and analyze it for statistics
* based on word and letter frequency, and then output them to a user-specified
* file. It assumes text is only alphabetical + spaces + the punctuation
* contained within main.cpp. In addition, the list of word counts is sorted
* using a recursive MSD radix sort before being outputted into the specified
* file.
* @version 1
* @date 2024-10-10
*