TARGET  = emu.exe
SRCS    = maintest.cpp MemoryManagement.cpp
OBJS    = ${SRCS:.cpp=.o}
HEADERS = MemoryManagement.h

CC      = g++
CCFLAGS = -Wall
LD      = g++
LDFLAGS = 
LIBS    = 

$(TARGET) : $(OBJS) $(ICONTG)
	$(LD) $(OBJS) $(LDFLAGS) -o $(TARGET) $(LIBS)

.cpp.o : 
	$(CC) $(CCFLAGS) -c $<

$(OBJS) : $(HEADERS) Makefile

clean : 
	rm -f $(TARGET) $(OBJS) $(ICONTG) core *~
