source: liacs/da/opdr2b/Makefile@ 227

Last change on this file since 227 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 
1CC = g++
2
3CompileParms = -Wall -Wno-deprecated -g
4
5all: compressie decompressie write12 read12
6
7showlist.o: showlist.h showlist.cc
8 $(CC) -c $(CompileParms) showlist.cc
9
10leestekst.o: leestekst.h leestekst.cc
11 $(CC) -c $(CompileParms) leestekst.cc
12
13testtrie.o: general.h trie.h trie.cc showlist.h leestekst.h testtrie.cc
14 $(CC) -c $(CompileParms) testtrie.cc
15
16clean:
17 rm -f *.o opdracht2a compressie decompressie write12 read12
18
19.cc.o:
20 $(CC) $(CompileParms) -c $<
21
22COMPRESSIE_OBJ = trie.o compressie.o fileio.o
23compressie: $(COMPRESSIE_OBJ)
24 $(CC) $(CompileParms) $(COMPRESSIE_OBJ) -o $@
25
26DECOMPRESSIE_OBJ = trie.o decompressie.o fileio.o
27decompressie: $(DECOMPRESSIE_OBJ)
28 $(CC) $(CompileParms) $(DECOMPRESSIE_OBJ) -o $@
29
30read12: read12.o fileio.o
31 $(CC) $(CompileParms) read12.o fileio.o -o $@
32
33write12: write12.o fileio.o
34 $(CC) $(CompileParms) write12.o fileio.o -o $@
35
36test: all
37 @sh test.sh
Note: See TracBrowser for help on using the repository browser.