annotate Jttt/wrapper-icon/Makefile.old.win @ 4:0962f0296c8a

ColorsMemory-0.210503-1.1
author prymula <prymula76@outlook.com>
date Tue, 30 Jan 2024 16:43:10 +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++.exe
prymula <prymula76@outlook.com>
parents:
diff changeset
2 CC = gcc.exe
prymula <prymula76@outlook.com>
parents:
diff changeset
3
prymula <prymula76@outlook.com>
parents:
diff changeset
4 WINDRES = windres.exe
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 = wrapper.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 wrapper.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
prymula <prymula76@outlook.com>
parents:
diff changeset
27 $(BIN): $(OBJ)
prymula <prymula76@outlook.com>
parents:
diff changeset
28 $(CC) $(LINKOBJ) -o "wrapper.exe" $(LIBS)
prymula <prymula76@outlook.com>
parents:
diff changeset
29
prymula <prymula76@outlook.com>
parents:
diff changeset
30 wrapper.o: wrapper.c
prymula <prymula76@outlook.com>
parents:
diff changeset
31 $(CC) -c wrapper.c -o wrapper.o $(CFLAGS) -DNO_STDIO_REDIRECT
prymula <prymula76@outlook.com>
parents:
diff changeset
32
prymula <prymula76@outlook.com>
parents:
diff changeset
33