CC= gcc

CFLAGS= -g -Wall -DBASIC_C_LIBRARY
CPPFLAGS= 
LDFLAGS=  

OUTFILE=exception_example

OBJ= exception_example.o exception.o memory.o

$(OUTFILE) : $(OBJ)
	$(CC) $(CPPFLAGS) $(CFLAGS) $(OBJ) $(LDFLAGS) -o $@

exception_example.o: exception_example.c exception.h memory.h
exception.o: exception.c exception.h
memory.o: memory.c memory.h exception.h


clean :
	rm -f $(OBJ) $(OUTFILE)
