Author SHA1 Message Date
ikun a7d487bb3c bug fix 2026-09-13 21:58:46 +08:00
Yuzaki_Nasa 66f38ea86a dev_init 2026-09-13 21:34:40 +08:00
7 changed files with 151 additions and 184 deletions
+2 -1
View File
@@ -1,2 +1,3 @@
*.exe *.exe
obj/ obj/
*.o
+34
View File
@@ -0,0 +1,34 @@
# Project: img_proc_devCpp
# Makefile created by Dev-C++ 5.11
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
OBJ = image_proc.o main.o user_proc.o
LINKOBJ = image_proc.o main.o user_proc.o
LIBS = -L"D:/Dev-Cpp 5.11/MinGW64/lib" -L"D:/Dev-Cpp 5.11/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc -lgdi32
INCS = -I"D:/Dev-Cpp 5.11/MinGW64/include" -I"D:/Dev-Cpp 5.11/MinGW64/x86_64-w64-mingw32/include" -I"D:/Dev-Cpp 5.11/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include"
CXXINCS = -I"D:/Dev-Cpp 5.11/MinGW64/include" -I"D:/Dev-Cpp 5.11/MinGW64/x86_64-w64-mingw32/include" -I"D:/Dev-Cpp 5.11/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"D:/Dev-Cpp 5.11/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++"
BIN = img_proc_devCpp.exe
CXXFLAGS = $(CXXINCS)
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)
image_proc.o: image_proc.c
$(CC) -c image_proc.c -o image_proc.o $(CFLAGS)
main.o: main.c
$(CC) -c main.c -o main.o $(CFLAGS)
user_proc.o: user_proc.c
$(CC) -c user_proc.c -o user_proc.o $(CFLAGS)
-53
View File
@@ -1,53 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="img_proc" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/img_proc" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
</Compiler>
<Linker>
<Add library="gdi32" />
</Linker>
</Target>
<Target title="Release">
<Option output="bin/Release/img_proc" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
</Compiler>
<Unit filename="image_proc.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="image_proc.h" />
<Unit filename="img_proc.cbp" />
<Unit filename="main.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="user_proc.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="user_proc.h" />
<Extensions>
<lib_finder disable_auto="1" />
</Extensions>
</Project>
</CodeBlocks_project_file>
-105
View File
@@ -1,105 +0,0 @@
# depslib dependency file v1.0
1758552670 source:d:\workspace\21st_car\img_proc\image_proc.c
"image_proc.h"
<stdlib.h>
<string.h>
<windows.h>
1758552630 d:\workspace\21st_car\img_proc\image_proc.h
<stdint.h>
<windows.h>
1758552736 source:d:\workspace\21st_car\img_proc\main.c
<windows.h>
<stdio.h>
<stdint.h>
<stdlib.h>
<string.h>
"image_proc.h"
"user_proc.h"
1758552635 d:\workspace\21st_car\img_proc\user_proc.h
"image_proc.h"
1758552667 source:d:\workspace\21st_car\img_proc\user_proc.c
<stdint.h>
"user_proc.h"
1758556566 source:d:\workspace\21st_car\c_final\codeblocks_template\image_proc.c
"image_proc.h"
<stdlib.h>
<string.h>
<windows.h>
1758554431 d:\workspace\21st_car\c_final\codeblocks_template\image_proc.h
<stdint.h>
<windows.h>
1758555976 source:d:\workspace\21st_car\c_final\codeblocks_template\main.c
<windows.h>
<stdio.h>
<stdint.h>
<stdlib.h>
<string.h>
"image_proc.h"
"user_proc.h"
1758555976 d:\workspace\21st_car\c_final\codeblocks_template\user_proc.h
"image_proc.h"
1758556630 source:d:\workspace\21st_car\c_final\codeblocks_template\user_proc.c
<stdint.h>
"user_proc.h"
1758556566 source:c:\users\21770\desktop\temp\image_proc.c
"image_proc.h"
<stdlib.h>
<string.h>
<windows.h>
1758554431 c:\users\21770\desktop\temp\image_proc.h
<stdint.h>
<windows.h>
1758643468 source:c:\users\21770\desktop\temp\main.c
<windows.h>
<stdio.h>
<stdint.h>
<stdlib.h>
<string.h>
"image_proc.h"
"user_proc.h"
1789305874 c:\users\21770\desktop\temp\user_proc.h
"image_proc.h"
1758643639 source:c:\users\21770\desktop\temp\user_proc.c
<stdint.h>
"user_proc.h"
1789307122 source:c:\users\33131\desktop\temp\template\image_proc.c
"image_proc.h"
<stdlib.h>
<string.h>
<windows.h>
1789307122 c:\users\33131\desktop\temp\template\image_proc.h
<stdint.h>
<windows.h>
1789307122 source:c:\users\33131\desktop\temp\template\main.c
<windows.h>
<stdio.h>
<stdint.h>
<stdlib.h>
<string.h>
"image_proc.h"
"user_proc.h"
1789307122 c:\users\33131\desktop\temp\template\user_proc.h
"image_proc.h"
1789307122 source:c:\users\33131\desktop\temp\template\user_proc.c
<stdint.h>
"user_proc.h"
-25
View File
@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_layout_file>
<FileVersion major="1" minor="0" />
<ActiveTarget name="Release" />
<File name="image_proc.c" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="0" />
</Cursor>
</File>
<File name="main.c" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="183" topLine="0" />
</Cursor>
</File>
<File name="user_proc.h" open="1" top="1" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="264" topLine="0" />
</Cursor>
</File>
<File name="image_proc.h" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="0" />
</Cursor>
</File>
</CodeBlocks_layout_file>
+102
View File
@@ -0,0 +1,102 @@
[Project]
FileName=img_proc_devCpp.dev
Name=img_proc_devCpp
Type=1
Ver=2
ObjFiles=
Includes=
Libs=
PrivateResource=
ResourceIncludes=
MakeIncludes=
Compiler=-std=c99_@@_
CppCompiler=
Linker=-lgdi32_@@_
IsCpp=0
Icon=
ExeOutput=
ObjectOutput=
LogOutput=
LogOutputEnabled=0
OverrideOutput=0
OverrideOutputName=img_proc_devCpp.exe
HostApplication=
UseCustomMakefile=0
CustomMakefile=
CommandLine=
Folders=
IncludeVersionInfo=0
SupportXPThemes=0
CompilerSet=0
CompilerSettings=0000000000000000000000000
UnitCount=5
[VersionInfo]
Major=1
Minor=0
Release=0
Build=0
LanguageID=1033
CharsetID=1252
CompanyName=
FileVersion=1.0.0.0
FileDescription=Developed using the Dev-C++ IDE
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
AutoIncBuildNr=0
SyncProduct=1
[Unit1]
FileName=image_proc.c
CompileCpp=0
Folder=
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit2]
FileName=image_proc.h
CompileCpp=0
Folder=
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit3]
FileName=main.c
CompileCpp=0
Folder=
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit4]
FileName=user_proc.c
CompileCpp=0
Folder=
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit5]
FileName=user_proc.h
CompileCpp=0
Folder=
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
+13
View File
@@ -0,0 +1,13 @@
[Editor_0]
CursorCol=29
CursorRow=19
TopLine=1
LeftChar=1
[Editors]
Order=2
Focused=2
[Editor_2]
CursorCol=1
CursorRow=9
TopLine=1
LeftChar=1