summaryrefslogtreecommitdiff
path: root/Makefile
blob: b6f8458a05aa3ecc6573907b9bad5964d41d9783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CFLAGS=-Wall -W -Wno-unused-parameter -g -O2 $(shell pkg-config --cflags gtk+-2.0 gnet-2.0)
LIBS=$(shell pkg-config --libs gtk+-2.0 gnet-2.0)

all: memfault
clean:
	rm -f memfault *.o

OBJS:=\
    app.o blockmap.o timeline.o allocators.o frames.o \
    callgraph.o callgraph-store.o callgraph-treemap.o \
    utils.o
${OBJS}: memfault.h callgraph.h
memfault: ${OBJS}
	$(CC) $^ -o $@ $(LIBS)