# Project: WinMonte
# Original Makefile created by Dev-C++ 4.9.9.2
# Highly updated by Will to use newer MinGWs and use command line only.

# The OS stuff
CC      = gcc.exe
RM      = del /Q
WINDRES = windres.exe

# The Compiler stuff
LIBS    = -L"C:/MinGW2/lib" -mwindows
INCS    = -I"C:/MinGW2/include"
CFLAGS  = -Wall $(INCS)

# The Project-specific stuff
BIN  = WinMonte.exe
OBJS = gooey.o ini.o params.o util.o Simulation.o reports.o sorts.o modes.o
RES  = WinMonte

$(BIN): $(OBJS) $(RES).res
	$(CC) $(OBJS) $(RES).res -o $(BIN) $(LIBS)

$(RES).res: $(RES).rc
	$(WINDRES) -i $(RES).rc --input-format=rc -o $(RES).res -O coff

clean:
	${RM} *.o *.bak *.res

cleaner:
	${RM} $(BIN) *.o *.bak *.res


