Clarify instructions in test/external_tools
[pyelftools.git] / test / external_tools / Makefile
1 CFLAGS = -Wall --std=c99
2 # This is where `make install` from libelf places its stuff
3 LIBELF_HEADERS = /usr/local/include/libelf/
4 LIBELF_LIBS = /usr/local/lib/
5
6 all: elf_creator
7
8 elf_creator: elf_creator.c
9 gcc $(CFLAGS) -o elf_creator elf_creator.c \
10 -I$(LIBELF_HEADERS) -L$(LIBELF_LIBS) -Wl,-rpath,$(LIBELF_LIBS) -lelf
11
12 clean:
13 rm -f *.o
14 rm -f *.so
15 rm -f *.a
16 rm -f elf_creator