1C_SOURCES := main.c
2
3# compile a.out and create-corefile
4# create-corefile will create a custom corefile using the symbols
5# addresses from the a.out binary.
6all: a.out create-corefile
7
8create-corefile:
9	$(MAKE) -f $(MAKEFILE_RULES) EXE=create-corefile \
10		C_SOURCES=create-corefile.c
11
12include Makefile.rules
13