From 5186344105c0f917f7f847e5501f189e3d70dc85 Mon Sep 17 00:00:00 2001 From: BlackRose Date: Tue, 5 Nov 2024 21:14:25 +0800 Subject: [PATCH] Add files via upload --- App/lib/config/Makefile.win | 30 ++++++++++++++++ App/lib/config/bin/connect.rb | 1 + App/lib/config/bin/db.sqlite | 5 +++ App/lib/config/bin/quarrel.rb | 1 + App/lib/config/bin/raw_select.rb | 1 + App/lib/config/deb_miscellen.dev | 59 ++++++++++++++++++++++++++++++++ App/lib/config/main.cpp | 10 ++++++ 7 files changed, 107 insertions(+) create mode 100644 App/lib/config/Makefile.win create mode 100644 App/lib/config/bin/connect.rb create mode 100644 App/lib/config/bin/db.sqlite create mode 100644 App/lib/config/bin/quarrel.rb create mode 100644 App/lib/config/bin/raw_select.rb create mode 100644 App/lib/config/deb_miscellen.dev create mode 100644 App/lib/config/main.cpp diff --git a/App/lib/config/Makefile.win b/App/lib/config/Makefile.win new file mode 100644 index 0000000..3941696 --- /dev/null +++ b/App/lib/config/Makefile.win @@ -0,0 +1,30 @@ +# Project: deb_miscellen +# Makefile created by Dev-C++ 4.9.9.2 + +CPP = g++.exe +CC = gcc.exe +WINDRES = windres.exe +RES = +OBJ = main.o $(RES) +LINKOBJ = main.o $(RES) +LIBS = -L"C:/Dev-Cpp/lib" +INCS = -I"C:/Dev-Cpp/include" +CXXINCS = -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" +BIN = deb_miscellen.exe +CXXFLAGS = $(CXXINCS) +CFLAGS = $(INCS) +RM = rm -f + +.PHONY: all all-before all-after clean clean-custom + +all: all-before deb_miscellen.exe all-after + + +clean: clean-custom + ${RM} $(OBJ) $(BIN) + +$(BIN): $(OBJ) + $(CPP) $(LINKOBJ) -o "deb_miscellen.exe" $(LIBS) + +main.o: main.cpp + $(CPP) -c main.cpp -o main.o $(CXXFLAGS) diff --git a/App/lib/config/bin/connect.rb b/App/lib/config/bin/connect.rb new file mode 100644 index 0000000..d517b16 --- /dev/null +++ b/App/lib/config/bin/connect.rb @@ -0,0 +1 @@ +puts "none" diff --git a/App/lib/config/bin/db.sqlite b/App/lib/config/bin/db.sqlite new file mode 100644 index 0000000..b598f97 --- /dev/null +++ b/App/lib/config/bin/db.sqlite @@ -0,0 +1,5 @@ +CREATE TABLE users ( + id INTEGER PRIMARY KEY, + name TEXT, + age INTEGER +); diff --git a/App/lib/config/bin/quarrel.rb b/App/lib/config/bin/quarrel.rb new file mode 100644 index 0000000..58f56e7 --- /dev/null +++ b/App/lib/config/bin/quarrel.rb @@ -0,0 +1 @@ +puts 'quarrel' diff --git a/App/lib/config/bin/raw_select.rb b/App/lib/config/bin/raw_select.rb new file mode 100644 index 0000000..9b8b656 --- /dev/null +++ b/App/lib/config/bin/raw_select.rb @@ -0,0 +1 @@ +puts 'Select' diff --git a/App/lib/config/deb_miscellen.dev b/App/lib/config/deb_miscellen.dev new file mode 100644 index 0000000..523084b --- /dev/null +++ b/App/lib/config/deb_miscellen.dev @@ -0,0 +1,59 @@ +[Project] +FileName=deb_miscellen.dev +Name=deb_miscellen +UnitCount=1 +Type=1 +Ver=1 +ObjFiles= +Includes= +Libs= +PrivateResource= +ResourceIncludes= +MakeIncludes= +Compiler= +CppCompiler= +Linker= +IsCpp=1 +Icon= +ExeOutput= +ObjectOutput= +OverrideOutput=0 +OverrideOutputName= +HostApplication= +Folders= +CommandLine= +UseCustomMakefile=0 +CustomMakefile= +IncludeVersionInfo=0 +SupportXPThemes=0 +CompilerSet=0 +CompilerSettings= + +[Unit1] +FileName=main.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[VersionInfo] +Major=0 +Minor=1 +Release=1 +Build=1 +LanguageID=1033 +CharsetID=1252 +CompanyName= +FileVersion= +FileDescription=Developed using the Dev-C++ IDE +InternalName= +LegalCopyright= +LegalTrademarks= +OriginalFilename= +ProductName= +ProductVersion= +AutoIncBuildNr=0 + diff --git a/App/lib/config/main.cpp b/App/lib/config/main.cpp new file mode 100644 index 0000000..76ccb56 --- /dev/null +++ b/App/lib/config/main.cpp @@ -0,0 +1,10 @@ +#include +#include + +using namespace std; + +int main(int argc, char *argv[]) +{ + system("PAUSE"); + return EXIT_SUCCESS; +}