huffman/Makefile

14 lines
188 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)/huf.o
2016-10-05 10:52:58 +00:00
$(CC) $^ $(FLAGS) -o $(PROG)
%.o: %.cpp
$(CC) $(FLAGS) -c $^
camille:
rm -f $(PROG) **/*.o **/*.gch