CC=gcc
CFLAGS=-g -Wall

.PHONY: clean

memtool: memtool.c ../0x02_memlib/pfnInspect.c ../0x02_memlib/memoryInspect.c ../0x02_memlib/util.c ../0x02_memlib/pfnInspect.h ../0x02_memlib/memoryInspect.h ../0x02_memlib/util.h
	$(CC) -o $@ memtool.c ../0x02_memlib/pfnInspect.c ../0x02_memlib/memoryInspect.c ../0x02_memlib/util.c $(CFLAGS)

clean:
	-rm memtool
