Skip to content
Permalink
8eea96cf6c
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) 341 Bytes
EXFILES= compress decompress
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 $@