huffman/Makefile

14 lines
183 B
Makefile
Raw Normal View History

2016-10-05 10:52:58 +00:00
CC=gcc
FLAGS=-Wall -std=c99
SRC=src
PROG=compress
all: $(SRC)/main.o $(SRC)/freq.o
$(CC) $^ $(FLAGS) -o $(PROG)
%.o: %.cpp
$(CC) $(FLAGS) -c $^
camille:
rm -f $(PROG) *.o *.gch