Skip to content
Permalink
edb1a5efee
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
22 lines (15 sloc) 329 Bytes
EXFILES= huffman
HUFFMAN= Huffman.o Compress.o Decompress.o main.o
FLAGS= -std=c++14 -g
all: huffman
fresh: clean all
huffman: $(HUFFMAN)
g++ $(FLAGS) $^ -o $@
#compress: $(COMPR)
# g++ $(FLAGS) $^ -o $@
#decompress: $(DECOMPR)
# g++ $(FLAGS) $^ -o $@
clean:
-rm -f *.o $(EXFILES)
%.o: %.cpp
g++ $(FLAGS) -c $< -o $@