CC = g++ CompileParms = -Wall -Wno-deprecated -g all: compressie decompressie write12 read12 showlist.o: showlist.h showlist.cc $(CC) -c $(CompileParms) showlist.cc leestekst.o: leestekst.h leestekst.cc $(CC) -c $(CompileParms) leestekst.cc testtrie.o: general.h trie.h trie.cc showlist.h leestekst.h testtrie.cc $(CC) -c $(CompileParms) testtrie.cc clean: rm -f *.o opdracht2a compressie decompressie write12 read12 .cc.o: $(CC) $(CompileParms) -c $< COMPRESSIE_OBJ = trie.o compressie.o fileio.o compressie: $(COMPRESSIE_OBJ) $(CC) $(CompileParms) $(COMPRESSIE_OBJ) -o $@ DECOMPRESSIE_OBJ = trie.o decompressie.o fileio.o decompressie: $(DECOMPRESSIE_OBJ) $(CC) $(CompileParms) $(DECOMPRESSIE_OBJ) -o $@ read12: read12.o fileio.o $(CC) $(CompileParms) read12.o fileio.o -o $@ write12: write12.o fileio.o $(CC) $(CompileParms) write12.o fileio.o -o $@ test: all @sh test.sh