summaryrefslogtreecommitdiff
path: root/dwarfexample/Makefile
blob: 0fb18d29643864c5e64bf8242ced84e09579ca51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


LIBDIR= -L../libdwarf
LIBS= -ldwarf -lelf
CFLAGS= -Wall -I../libdwarf

all: simplereader frame1

simplereader: simplereader.c
	$(CC) $(CFLAGS) simplereader.c -o simplereader $(LIBDIR) $(LIBS)
frame1: frame1.c
	$(CC) $(CFLAGS) frame1.c -o frame1 $(LIBDIR) $(LIBS)

clean:
	rm -f simplereader.o
	rm -f simplereader
	rm -f frame1
	rm -f frame1.o