-
Notifications
You must be signed in to change notification settings - Fork 0
/
b.win
29 lines (22 loc) · 836 Bytes
/
b.win
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
# Project: Project1
# Makefile created by Dev-C++ 5.4.1
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
OBJ = teste.o
LINKOBJ = teste.o
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib" -static-libstdc++ -static-libgcc -lopengl32 -lglu32 -lglut32 -lwinmm -lgdi32
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include"
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include"
BIN = Project1.exe
CXXFLAGS = $(CXXINCS) -lopengl32 -lglu32 -lglut32 -lwinmm -lgdi32
CFLAGS = $(INCS) -lopengl32 -lglu32 -lglut32 -lwinmm -lgdi32
RM = rm -f
.PHONY: all all-before all-after clean clean-custom
all: all-before $(BIN) all-after
clean: clean-custom
${RM} $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)
teste.o: teste.cpp
$(CPP) -c teste.cpp -o teste.o $(CXXFLAGS)