# A simple Makefile for C++
# Assumes the following directory hierarchy:
# Assignment X
# 	src
#       include

#this Makefile goes in the src directory

#change this to the correct executable name
EXECUTABLE := NFA2DFA

# the source files to be built
SOURCES := *.cpp

#stuff you don't need to worry about
INCLUDES := -I ../include
LIBS := -lm
EXT := exe
CC := g++

all:
	$(CC) $(INCLUDES) $(LIBS) $(SOURCES) -o $(EXECUTABLE).$(EXT) 

realclean:
	find . -type f -name "*.o" -exec rm '{}' \;
	find . -type f -name "*.exe" -exec rm '{}' \;

# this line required by make - don't delete
