Last change
on this file since 286 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
901 bytes
|
Line | |
---|
1 | CC = g++
|
---|
2 |
|
---|
3 | CompileParms = -Wall -Wno-deprecated -g
|
---|
4 |
|
---|
5 | all: compressie decompressie write12 read12
|
---|
6 |
|
---|
7 | showlist.o: showlist.h showlist.cc
|
---|
8 | $(CC) -c $(CompileParms) showlist.cc
|
---|
9 |
|
---|
10 | leestekst.o: leestekst.h leestekst.cc
|
---|
11 | $(CC) -c $(CompileParms) leestekst.cc
|
---|
12 |
|
---|
13 | testtrie.o: general.h trie.h trie.cc showlist.h leestekst.h testtrie.cc
|
---|
14 | $(CC) -c $(CompileParms) testtrie.cc
|
---|
15 |
|
---|
16 | clean:
|
---|
17 | rm -f *.o opdracht2a compressie decompressie write12 read12
|
---|
18 |
|
---|
19 | .cc.o:
|
---|
20 | $(CC) $(CompileParms) -c $<
|
---|
21 |
|
---|
22 | COMPRESSIE_OBJ = trie.o compressie.o fileio.o
|
---|
23 | compressie: $(COMPRESSIE_OBJ)
|
---|
24 | $(CC) $(CompileParms) $(COMPRESSIE_OBJ) -o $@
|
---|
25 |
|
---|
26 | DECOMPRESSIE_OBJ = trie.o decompressie.o fileio.o
|
---|
27 | decompressie: $(DECOMPRESSIE_OBJ)
|
---|
28 | $(CC) $(CompileParms) $(DECOMPRESSIE_OBJ) -o $@
|
---|
29 |
|
---|
30 | read12: read12.o fileio.o
|
---|
31 | $(CC) $(CompileParms) read12.o fileio.o -o $@
|
---|
32 |
|
---|
33 | write12: write12.o fileio.o
|
---|
34 | $(CC) $(CompileParms) write12.o fileio.o -o $@
|
---|
35 |
|
---|
36 | test: all
|
---|
37 | @sh test.sh
|
---|
Note:
See
TracBrowser
for help on using the repository browser.