adjust makefile for a3
This commit is contained in:
parent
0bba075976
commit
62a4f22ca9
2 changed files with 7 additions and 6 deletions
2
Makefile
2
Makefile
|
@ -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
|
## 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)
|
ARCHIVED_FILES = Makefile $(SRC_FILES) $(SRC_FILES:.cpp=.h) $(SRC_FILES:.cpp=.hpp)
|
||||||
pack: fmtc
|
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
|
## Runs the pack target and then attempts to build & run the program to make sure it functions correctly
|
||||||
pack-test: pack
|
pack-test: pack
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
/**
|
/**
|
||||||
* @author Tyler Beckman (tyler_beckman@mines.edu)
|
* @author Tyler Beckman (tyler_beckman@mines.edu)
|
||||||
* @brief A3 - A program to parse a text input and analyze it for statistics based on
|
* @brief A3 - A program to parse a text input and analyze it for statistics
|
||||||
* word and letter frequency, and then output them to a user-specified file. It
|
* based on word and letter frequency, and then output them to a user-specified
|
||||||
* assumes text is only alphabetical + spaces + the punctuation contained within
|
* file. It assumes text is only alphabetical + spaces + the punctuation
|
||||||
* main.cpp. In addition, the list of word counts is sorted using a recursive
|
* contained within main.cpp. In addition, the list of word counts is sorted
|
||||||
* MSD radix sort before being outputted into the specified file.
|
* using a recursive MSD radix sort before being outputted into the specified
|
||||||
|
* file.
|
||||||
* @version 1
|
* @version 1
|
||||||
* @date 2024-10-10
|
* @date 2024-10-10
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue