Makefile 305 Bytes
Newer Older
Arne Øslebø's avatar
Arne Øslebø committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC = gcc
RM = rm -f
CFLAGS = -g -O2 -Wall -I..
BINS = mapidump

.PHONY: all clean

all: $(BINS)

mapidump.o: mapidump.c
	$(CC) $(CFLAGS) -c $<

util.o:	util.c
	$(CC) $(CFLAGS) -c $<
	
16
17
mapidump: mapidump.o  util.o 
	$(CC) $(CFLAGS) util.o mapidump.o -o mapidump -lpthread -lmapi
Arne Øslebø's avatar
Arne Øslebø committed
18
19
20

clean:
	$(RM) *.o $(BINS)