diff --git a/.gitignore b/.gitignore index adb36c8..4339cde 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -*.exe \ No newline at end of file +*.exe +obj/ \ No newline at end of file diff --git a/Makefile.win b/Makefile.win new file mode 100644 index 0000000..54dfc87 --- /dev/null +++ b/Makefile.win @@ -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"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib" -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc -lgdi32 +INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" +CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"C:/Program Files (x86)/Dev-Cpp/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) diff --git a/img_proc_devCpp.dev b/img_proc_devCpp.dev new file mode 100644 index 0000000..5cece6f --- /dev/null +++ b/img_proc_devCpp.dev @@ -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= + diff --git a/img_proc_devCpp.layout b/img_proc_devCpp.layout new file mode 100644 index 0000000..718cb8c --- /dev/null +++ b/img_proc_devCpp.layout @@ -0,0 +1,13 @@ +[Editor_0] +CursorCol=29 +CursorRow=19 +TopLine=1 +LeftChar=1 +[Editors] +Order= +Focused=0 +[Editor_2] +CursorCol=37 +CursorRow=26 +TopLine=1 +LeftChar=1