annotate trix/Makefile.win @ 23:489244127359

kopieckreta-0.240903-0
author Przemyslaw <prymula76@outlook.com>
date Mon, 01 Apr 2024 07:15:00 +0200
parents 2787f5e749ae
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
prymula <prymula76@outlook.com>
parents:
diff changeset
1 -Dmain=SDL_main# Project: trix
prymula <prymula76@outlook.com>
parents:
diff changeset
2 # Makefile created by Dev-C++ 4.9.9.2
prymula <prymula76@outlook.com>
parents:
diff changeset
3
prymula <prymula76@outlook.com>
parents:
diff changeset
4 CPP = g++.exe
prymula <prymula76@outlook.com>
parents:
diff changeset
5 CC = i686-w64-mingw32-gcc
prymula <prymula76@outlook.com>
parents:
diff changeset
6 WINDRES = i686-w64-mingw32-windres
prymula <prymula76@outlook.com>
parents:
diff changeset
7 RES =
prymula <prymula76@outlook.com>
parents:
diff changeset
8 OBJ = main.o menu.o game.o $(RES)
prymula <prymula76@outlook.com>
parents:
diff changeset
9 LINKOBJ = main.o menu.o game.o $(RES)
prymula <prymula76@outlook.com>
parents:
diff changeset
10 LIBS = -L"/usr/i686-w64-mingw32/sys-root/mingw/lib" -mwindows -lmingw32 -lSDL2main -lSDL2 -lSDL2_ttf -lSDL2_image -static-libgcc
prymula <prymula76@outlook.com>
parents:
diff changeset
11 #LIBS = -L"C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\i686-w64-mingw32\pietraszczyk\lib" -mwindows -lmingw32 -lSDL2main -lSDL2 -lSDL2_ttf -lSDL2_image -static-libgcc
prymula <prymula76@outlook.com>
parents:
diff changeset
12 INCS = -I"/usr/i686-w64-mingw32/sys-root/mingw/include" -Dmain=SDL2_main
prymula <prymula76@outlook.com>
parents:
diff changeset
13 #INCS = -I"C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\i686-w64-mingw32\pietraszczyk\include" -Dmain=SDL_main
prymula <prymula76@outlook.com>
parents:
diff changeset
14 CXXINCS =
prymula <prymula76@outlook.com>
parents:
diff changeset
15 BIN = trix.exe
prymula <prymula76@outlook.com>
parents:
diff changeset
16 CXXFLAGS = $(CXXINCS) -g
prymula <prymula76@outlook.com>
parents:
diff changeset
17 CFLAGS = $(INCS) -g
prymula <prymula76@outlook.com>
parents:
diff changeset
18 RM = rm -f
prymula <prymula76@outlook.com>
parents:
diff changeset
19
prymula <prymula76@outlook.com>
parents:
diff changeset
20 .PHONY: all all-before all-after clean clean-custom
prymula <prymula76@outlook.com>
parents:
diff changeset
21
prymula <prymula76@outlook.com>
parents:
diff changeset
22 all: all-before trix.exe all-after
prymula <prymula76@outlook.com>
parents:
diff changeset
23
prymula <prymula76@outlook.com>
parents:
diff changeset
24
prymula <prymula76@outlook.com>
parents:
diff changeset
25 clean: clean-custom
prymula <prymula76@outlook.com>
parents:
diff changeset
26 ${RM} $(OBJ) $(BIN)
prymula <prymula76@outlook.com>
parents:
diff changeset
27
prymula <prymula76@outlook.com>
parents:
diff changeset
28 $(BIN): $(OBJ)
prymula <prymula76@outlook.com>
parents:
diff changeset
29 $(WINDRES) trix.rc -O coff -o icon.o
prymula <prymula76@outlook.com>
parents:
diff changeset
30 $(CC) $(LINKOBJ) -o "trix.exe" $(LIBS) icon.o
prymula <prymula76@outlook.com>
parents:
diff changeset
31
prymula <prymula76@outlook.com>
parents:
diff changeset
32 main.o: main.c
prymula <prymula76@outlook.com>
parents:
diff changeset
33 $(CC) -c main.c -o main.o $(CFLAGS) -DWINDOWS
prymula <prymula76@outlook.com>
parents:
diff changeset
34
prymula <prymula76@outlook.com>
parents:
diff changeset
35 menu.o: menu.c
prymula <prymula76@outlook.com>
parents:
diff changeset
36 $(CC) -c menu.c -o menu.o $(CFLAGS) -DWINDOWS
prymula <prymula76@outlook.com>
parents:
diff changeset
37
prymula <prymula76@outlook.com>
parents:
diff changeset
38 game.o: game.c
prymula <prymula76@outlook.com>
parents:
diff changeset
39 $(CC) -c game.c -o game.o $(CFLAGS) -DWINDOWS