From c4861329e525a2f0e4e75e702e043adce088533f Mon Sep 17 00:00:00 2001 From: Samuel Walker Date: Mon, 22 Apr 2024 22:44:10 -0600 Subject: [PATCH] created initial make file and test main file --- Makefile | 17 +++++++++++++++++ main | Bin 0 -> 15792 bytes src/main.cpp | 6 ++++++ 3 files changed, 23 insertions(+) create mode 100644 Makefile create mode 100755 main create mode 100644 src/main.cpp diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e85c29f --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ + +CXX := g++ +CXXFLAGS := -std=c++11 -c +LDFLAGS := -g +LDLIBS= + +srcfiles := $(wildcard */*.cpp) +objfiles := $(subst src,obj,$(subst .cpp,.o,$(srcfiles))) + +all: main + +main: $(objfiles) + $(CXX) $(LDFLAGS) -o main $(objfiles) $(LDLIBS) + +obj/%.o: src/%.cpp + mkdir -p obj + $(CXX) $(CXXFLAGS) -o $@ $< diff --git a/main b/main new file mode 100755 index 0000000000000000000000000000000000000000..6b61fbeab78695d55328f37e58deb9cab8433842 GIT binary patch literal 15792 zcmeHOYit}>6~4Q+6PLzM#jW$88A4Juq#k>1$8snpqR3BAzC8rZOC@>7T)Z;^OGIYRy{u@5ZC8&3Le`kNr$ZbddDf^we=3zpp9r+|lXdB25E z^Cb0G?L1^Co-An@h|a7%-PhZhO?PDN+`?kVVt-#pU$0ustKD)4IIb=@a7`T@KOv$^ zVg)hgM?|DdkCF~9vY_vFI56zUfBL0!>T`wmn%2(o$X8z6_3rxK8_%E*&I8*-A1sLB z!3Br^0XWddjZd?zBZj5z;QD0l4xVZaJo%3q5DPW=& zLpLF!zWJ~J!-Go(=B|eTQ|DZo?frotscU#M`5Mc!chZP3|t%V&%NP9z|som z2G2WQPeZq#hb3Jnh6!^HT!33ujhLkKhyI7jhVB03Yu|unUn@=#wy@K_2Ya*0pYOYT zztdWfCB!AVuQI-Y1Ax-5N#WfeS-*0`#qk=WrX{fA!|__=@`?|qTdOo(_u*UF8RY9e zoX3RbH6IQW^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aK#-m7#ar}8<-+FnRu?ldfXBd!~xlY__NhCVVWjFHcb4<1Vl3*+e6@u9&n z*_cJhRZjL&HFozMFE*2Shj|6#tGnkD2p6UD*GXE=P_Y1XnX3jCEK{^FjX1HeO z;4Oi9p~7EEEp;}xpw1Wa^H#w*Qw*>btgMLys?BE|p~|?bj)&_+8HYe&Vy#z~(RfJk8`!@UpldB4N*KJw)8vmeVZfF1Wztn+?~<>!dcG3N0TEb#jjW6FHq&#~Mf zNA92bJpbp3KSX}KKV;eE_P2M+CGiC2!AocXw?>-WdR=lBbS97*zX0-^sl|DS>ZhsgYD z@BdZfUkmUx#r0(Q6cb7E`D6H3P=ORpc?}@O&pZ5nV9=j+mcIv1laJ5OLzgmLjA_&mN17{-tJ{9e+PPV{!)p>k{PC-Ygp1F)aZ z&r|Eff5=aUI`ddYf$Zn=KChV;E{~I&VVj~%LBx!vtncLy5he%TQp4=VAu%eUl& KxGz8msN!GJuOB%8 literal 0 HcmV?d00001 diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..5f2a26e --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main(){ + std::cout << "This is another test" << std::endl; + return 0; +}