2024-10-03 09:12:08 +00:00
|
|
|
# Project: VoiletWindowsActionTool
|
2024-12-30 14:40:46 +00:00
|
|
|
# Makefile created by Red Panda C++ 3.2.2958
|
2024-10-03 09:12:08 +00:00
|
|
|
|
2024-12-30 14:40:46 +00:00
|
|
|
CXX = "g++.exe"
|
|
|
|
CC = "gcc.exe"
|
|
|
|
WINDRES = "windres.exe"
|
|
|
|
RM = del /q /f
|
|
|
|
CD = cd /d
|
|
|
|
LIBS = "-Wl,--stack,12582912" "-mwindows" "-static"
|
|
|
|
INCS =
|
|
|
|
CXXINCS =
|
|
|
|
CXXFLAGS = $(CXXINCS) "-g3" "-Wall" "-D_DEBUG"
|
|
|
|
CFLAGS = $(INCS) "-std=c99" "-g3" "-Wall" "-D_DEBUG"
|
|
|
|
WINDRESFLAGS =
|
2024-10-03 09:12:08 +00:00
|
|
|
RES = VoiletWindowsActionTool_private.res
|
|
|
|
OBJ = main.o $(RES)
|
|
|
|
BIN = VoiletWindowsActionTool.exe
|
2024-12-30 14:40:46 +00:00
|
|
|
LINKOBJ = "main.o" "VoiletWindowsActionTool_private.res"
|
|
|
|
CLEANOBJ = "main.o" "VoiletWindowsActionTool_private.res" "VoiletWindowsActionTool.exe"
|
2024-10-03 09:12:08 +00:00
|
|
|
|
|
|
|
.PHONY: all all-before all-after clean clean-custom
|
|
|
|
|
|
|
|
all: all-before $(BIN) all-after
|
|
|
|
|
|
|
|
clean: clean-custom
|
2024-12-30 14:40:46 +00:00
|
|
|
-$(RM) $(CLEANOBJ) >NUL 2>&1
|
|
|
|
|
|
|
|
VoiletWindowsActionTool.exe: $(OBJ)
|
2024-10-03 09:12:08 +00:00
|
|
|
|
2024-12-30 14:40:46 +00:00
|
|
|
$(CC) $(LINKOBJ) -o "VoiletWindowsActionTool.exe" $(LIBS)
|
2024-10-03 09:12:08 +00:00
|
|
|
|
|
|
|
main.o: main.c
|
2024-12-30 14:40:46 +00:00
|
|
|
$(CC) -c "main.c" -o "main.o" $(CFLAGS) -finput-charset=UTF-8 -fexec-charset=gbk
|
2024-10-03 09:12:08 +00:00
|
|
|
|
2024-12-30 14:40:46 +00:00
|
|
|
VoiletWindowsActionTool_private.res: VoiletWindowsActionTool_private.rc resource.rc
|
|
|
|
$(WINDRES) -i "VoiletWindowsActionTool_private.rc" --input-format=rc -o "VoiletWindowsActionTool_private.res" -O coff $(WINDRESFLAGS)
|
2024-10-03 09:12:08 +00:00
|
|
|
|