annotate flappyufo/win32/Makefile.win @ 11:78390e0e674f

remove DPF
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 20:21:56 +0100
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 CPP = g++
prymula <prymula76@outlook.com>
parents:
diff changeset
2 CC = gcc
prymula <prymula76@outlook.com>
parents:
diff changeset
3
prymula <prymula76@outlook.com>
parents:
diff changeset
4 WINDRES = windres
prymula <prymula76@outlook.com>
parents:
diff changeset
5 RES =
prymula <prymula76@outlook.com>
parents:
diff changeset
6 OBJ = wrapper.o $(RES)
prymula <prymula76@outlook.com>
parents:
diff changeset
7 LINKOBJ = wrapper.o $(RES)
prymula <prymula76@outlook.com>
parents:
diff changeset
8 #LIBS = -L"/lib" -lsdl -lsdl_ttf -mwindows
prymula <prymula76@outlook.com>
parents:
diff changeset
9 LIBS = -static-libgcc
prymula <prymula76@outlook.com>
parents:
diff changeset
10 INCS =
prymula <prymula76@outlook.com>
parents:
diff changeset
11 CXXINCS =
prymula <prymula76@outlook.com>
parents:
diff changeset
12 BIN = flappyufo.exe
prymula <prymula76@outlook.com>
parents:
diff changeset
13 CXXFLAGS = $(CXXINCS) -g
prymula <prymula76@outlook.com>
parents:
diff changeset
14 CFLAGS = $(INCS)
prymula <prymula76@outlook.com>
parents:
diff changeset
15 RM = rm
prymula <prymula76@outlook.com>
parents:
diff changeset
16
prymula <prymula76@outlook.com>
parents:
diff changeset
17 .PHONY: all all-before all-after clean clean-custom
prymula <prymula76@outlook.com>
parents:
diff changeset
18
prymula <prymula76@outlook.com>
parents:
diff changeset
19 all: all-before flappyufo.exe all-after
prymula <prymula76@outlook.com>
parents:
diff changeset
20
prymula <prymula76@outlook.com>
parents:
diff changeset
21
prymula <prymula76@outlook.com>
parents:
diff changeset
22 clean: clean-custom
prymula <prymula76@outlook.com>
parents:
diff changeset
23 ${RM} $(OBJ)
prymula <prymula76@outlook.com>
parents:
diff changeset
24 ${RM} $(BIN)
prymula <prymula76@outlook.com>
parents:
diff changeset
25
prymula <prymula76@outlook.com>
parents:
diff changeset
26 ${RM} icon.o
prymula <prymula76@outlook.com>
parents:
diff changeset
27
prymula <prymula76@outlook.com>
parents:
diff changeset
28
prymula <prymula76@outlook.com>
parents:
diff changeset
29 $(BIN): $(OBJ)
prymula <prymula76@outlook.com>
parents:
diff changeset
30 $(WINDRES) Icon.rc -O coff -o icon.o
prymula <prymula76@outlook.com>
parents:
diff changeset
31 $(CC) $(LINKOBJ) -o "flappyufo.exe" $(LIBS) -mwindows icon.o
prymula <prymula76@outlook.com>
parents:
diff changeset
32
prymula <prymula76@outlook.com>
parents:
diff changeset
33 wrapper.o: wrapper.c
prymula <prymula76@outlook.com>
parents:
diff changeset
34 $(CC) -c wrapper.c -o wrapper.o $(CFLAGS) -DNO_STDIO_REDIRECT
prymula <prymula76@outlook.com>
parents:
diff changeset
35
prymula <prymula76@outlook.com>
parents:
diff changeset
36