-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.win
33 lines (25 loc) · 1.52 KB
/
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
30
31
32
33
# Project: Locky Terminal
# Makefile created by Dev-C++ 5.11
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES = Locky_Terminal_private.res
OBJ = main.o $(RES)
LINKOBJ = main.o $(RES)
LIBS = -L"C:/devkitPro/msys2/mingw32/lib" -L"C:/devkitPro/msys2/mingw32/i686-w64-mingw32/lib" -static-libgcc
INCS = -I"C:/devkitPro/msys2/mingw32/include" -I"C:/devkitPro/msys2/mingw32/lib/gcc/i686-w64-mingw32/12.2.0/include" -I"C:/devkitPro/msys2/mingw32/include/gtk-4.0" -I"C:/devkitPro/msys2/mingw32/include/glib-2.0" -I"C:/devkitPro/msys2/mingw32/lib/glib-2.0/include" -I"C:/devkitPro/msys2/mingw32/include/cairo" -I"C:/devkitPro/msys2/mingw32/include/pango-1.0" -I"C:/devkitPro/msys2/mingw32/include/harfbuzz" -I"C:/devkitPro/msys2/mingw32/include/gdk-pixbuf-2.0" -I"C:/devkitPro/msys2/mingw32/include/graphene-1.0" -I"C:/devkitPro/msys2/mingw32/lib/graphene-1.0/include"
CXXINCS = -I"C:/devkitPro/msys2/mingw32/include" -I"C:/devkitPro/msys2/mingw32/lib/gcc/i686-w64-mingw32/12.2.0/include"
BIN = "Locky Terminal 32bit.exe"
CXXFLAGS = $(CXXINCS) -std=c99
CFLAGS = $(INCS) -std=c99
RM = rm.exe -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)
Locky_Terminal_private.res: Locky_Terminal_private.rc
$(WINDRES) -i Locky_Terminal_private.rc --input-format=rc -o Locky_Terminal_private.res -O coff