1# Project: Project1
2# Makefile created by Dev-C++ 4.9.9.1
3
4CPP  = g++.exe
5CC   = gcc.exe
6WINDRES = windres.exe
7RES  = ../OBJ/file_private.res
8OBJ  = ../OBJ/get_file.o ../OBJ/crc32.o $(RES)
9LINKOBJ  = ../OBJ/get_file.o ../OBJ/crc32.o $(RES)
10LIBS =  -L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp/lib"
11INCS =  -I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/include"
12CXXINCS =  -I"C:/Dev-Cpp/include/c++/3.3.1"  -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32"  -I"C:/Dev-Cpp/include/c++/3.3.1/backward"  -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include"  -I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/include"
13BIN  = file.exe
14CXXFLAGS = $(CXXINCS)
15CFLAGS = $(INCS)
16
17.PHONY: all all-before all-after clean clean-custom
18
19all: all-before file.exe all-after
20
21
22clean: clean-custom
23	rm -f $(OBJ) $(BIN)
24
25$(BIN): $(OBJ)
26	$(CPP) $(LINKOBJ) -o "file.exe" $(LIBS)
27
28../OBJ/get_file.o: get_file.cpp
29	$(CPP) -c get_file.cpp -o ../OBJ/get_file.o $(CXXFLAGS)
30
31../OBJ/crc32.o: crc32.c
32	$(CPP) -c crc32.c -o ../OBJ/crc32.o $(CXXFLAGS)
33
34../OBJ/file_private.res: file_private.rc
35	$(WINDRES) -i file_private.rc --input-format=rc -o ../OBJ/file_private.res -O coff  --include-dir C:/Dev-Cpp/Projetos/o2em-win
36