-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.win
29 lines (22 loc) · 879 Bytes
/
Makefile.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: usearcher
# Makefile created by Dev-C++ 5.4.1
CPP = g++.exe -D__DEBUG__
CC = gcc.exe -D__DEBUG__
WINDRES = windres.exe
OBJ = main.o
LINKOBJ = main.o
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib" -static-libstdc++ -static-libgcc -lkernel32 "C:/Program Files (x86)/Dev-Cpp/MinGW32/lib/libpthreadGC2.dll.a" -g3
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include"
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include"
BIN = usearcher.exe
CXXFLAGS = $(CXXINCS) -lglu32 -lglut32 -lopengl32 -lkernel32 -g3
CFLAGS = $(INCS) -lglu32 -lglut32 -lopengl32 -lkernel32 -g3
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)
$(CC) $(LINKOBJ) -o $(BIN) $(LIBS)
main.o: main.c
$(CC) -c main.c -o main.o $(CFLAGS)