-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.win
More file actions
43 lines (37 loc) · 1.6 KB
/
Makefile.win
File metadata and controls
43 lines (37 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Project: TicTacToe-Console
# Compiler: Default GCC compiler
# Compiler Type: MingW 3
# Makefile created by wxDev-C++ IDE 7.4.2.569 on 02/03/16 12:00
WXLIBNAME = wxmsw29u
CPP = g++.exe
CC = gcc.exe
WINDRES = "windres.exe"
OBJ = Objects/MingW/main.o Objects/MingW/TicTacToe-Console_private.res
LINKOBJ = "Objects/MingW/main.o" Objects/MingW/TicTacToe-Console_private.res
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/lib/wx/gcc_lib" -L"C:/Program Files (x86)/Dev-Cpp/lib" -L"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib"
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include"
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" -I"C:/Program Files (x86)/Dev-Cpp/" -I"C:/Program Files (x86)/Dev-Cpp/include/common"
RCINCS = --include-dir "C:/PROGRA~2/Dev-Cpp/include/common"
BIN = Output/MingW/TicTacToe-Console.exe
DEFINES =
CXXFLAGS = $(CXXINCS) $(DEFINES)
CFLAGS = $(INCS) $(DEFINES)
GPROF = gprof.exe
ifeq ($(OS),Windows_NT)
RM = del /Q
FixPath = $(subst /,\,$1)
else
RM = rm -f
FixPath = $1
endif
LINK = g++.exe
.PHONY: all all-before all-after clean clean-custom
all: all-before $(BIN) all-after
clean: clean-custom
$(RM) $(call FixPath,$(LINKOBJ)) "$(call FixPath,$(BIN))"
$(BIN): $(OBJ)
$(LINK) $(LINKOBJ) -o "$(BIN)" $(LIBS)
Objects/MingW/main.o: $(GLOBALDEPS) main.cpp
$(CPP) -c main.cpp -o Objects/MingW/main.o $(CXXFLAGS)
Objects/MingW/TicTacToe-Console_private.res: Objects/MingW/TicTacToe-Console_private.rc
$(WINDRES) --input-format=rc -o Objects/MingW/TicTacToe-Console_private.res $(RCINCS) Objects/MingW/TICTAC~1.RC -O coff