Makefile 318 Bytes
Newer Older
's avatar
committed
1
2
3
4
5
6
7
CC = gcc
CFLAGS = -g -W -Wall -Wshadow -Wcast-align -Wpointer-arith

BINS = appmon appform.cgi

all: $(BINS)

's avatar
committed
8
appmon:	appmon.o util.o anon_prefix_preserving.o
's avatar
committed
9
10
11
12
13
14
	$(CC) $(CFLAGS) $^ -o $@  -lrrd -lmapi

appform.cgi: appform.o util.o
	$(CC) $(CFLAGS) $^ -o $@ -lcgic

clean:
's avatar
committed
15
	$(RM) *.o $(BINS) appmon_form.html appmon.cgi