Mercurial > libpst
comparison Makefile @ 0:6b1b602514db libpst_0_5
Initial revision
author | carl |
---|---|
date | Fri, 09 Jul 2004 07:26:16 -0700 |
parents | |
children | 43e8802f08c5 8dd68d722fa8 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6b1b602514db |
---|---|
1 GCC_FLAGS=-g ${CFLAGS} | |
2 | |
3 all: readpst getidblock readpstlog dumpblocks | |
4 | |
5 libpst.o: libpst.c libpst.h define.h | |
6 gcc ${GCC_FLAGS} -c libpst.c -o libpst.o | |
7 | |
8 libstrfunc.o: libstrfunc.c libstrfunc.h | |
9 gcc ${GCC_FLAGS} -c libstrfunc.c -o libstrfunc.o | |
10 | |
11 debug.o: debug.c define.h | |
12 gcc ${GCC_FLAGS} -c debug.c -o debug.o | |
13 | |
14 lzfu.o: lzfu.c define.h | |
15 gcc ${GCC_FLAGS} -c lzfu.c -o lzfu.o | |
16 | |
17 readpst: readpst.c define.h libpst.o timeconv.o libstrfunc.o common.h debug.o lzfu.o | |
18 # ccmalloc gcc -Wall -Werror readpst.c -g -o readpst libpst.o timeconv.o libstrfunc.o debug.o | |
19 # gcc -Wall -Werror readpst.c -g -o readpst libpst.o timeconv.o libstrfunc.o debug.o lzfu.o -lefence | |
20 gcc ${GCC_FLAGS} readpst.c -o readpst libpst.o timeconv.o libstrfunc.o debug.o lzfu.o | |
21 | |
22 timeconv.o: timeconv.c timeconv.h common.h | |
23 gcc ${GCC_FLAGS} -c timeconv.c -o timeconv.o | |
24 | |
25 getidblock: getidblock.c define.h libpst.o common.h debug.o libstrfunc.o | |
26 gcc ${GCC_FLAGS} getidblock.c -o getidblock libpst.o debug.o timeconv.o libstrfunc.o | |
27 | |
28 testdebug: testdebug.c define.h debug.o | |
29 gcc ${GCC_FLAGS} testdebug.c -o testdebug debug.o libstrfunc.o | |
30 | |
31 readpstlog: readpstlog.c define.h debug.o | |
32 gcc ${GCC_FLAGS} readpstlog.c -g -o readpstlog debug.o libstrfunc.o | |
33 | |
34 dumpblocks: dumpblocks.c define.h libpst.o debug.o | |
35 gcc ${GCC_FLAGS} dumpblocks.c -o dumpblocks libpst.o debug.o libstrfunc.o timeconv.o | |
36 | |
37 clean: | |
38 rm -f core readpst libpst.o timeconv.o libstrfunc.o debug.o getidblock readpstlog testdebug dumpblocks lzfu.o *~ | |
39 | |
40 rebuild: clean all | |
41 | |
42 install: all | |
43 cp readpst /usr/local/bin | |
44 cp readpstlog /usr/local/bin/readpstlog | |
45 uninstall: | |
46 rm -f /usr/local/bin/readpst | |
47 rm -f /usr/local/bin/readpstlog |