summaryrefslogtreecommitdiff
path: root/projects/1/Makefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-01-10 14:30:36 -0700
committermo khan <mo@mokhan.ca>2025-01-10 14:30:36 -0700
commit9a47be5bcc91d7fc044d5ccaf7f5eb1a67de6971 (patch)
tree32c1e198d0d78e8531022236ef59406dbd227aee /projects/1/Makefile
parent81bd86e8f980347b2c442217f37224b5119f404b (diff)
Generate project1 tarball using nested makefile
Diffstat (limited to 'projects/1/Makefile')
-rw-r--r--projects/1/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/projects/1/Makefile b/projects/1/Makefile
index 4e2f245..44d3fd2 100644
--- a/projects/1/Makefile
+++ b/projects/1/Makefile
@@ -1,13 +1,16 @@
default: GoodDocsF.exe GoodDocsF-Darwin.exe GoodDocsF2.exe GoodDocsF2-Darwin.exe
+clean:
+ rm $(CURDIR)/*.exe
+
GoodDocsF.exe: GoodDocsF.cpp
- /usr/local/Cellar/mingw-w64/12.0.0_1/bin/x86_64-w64-mingw32-g++ -o GoodDocsF.exe GoodDocsF.cpp
+ /usr/local/Cellar/mingw-w64/12.0.0_1/bin/x86_64-w64-mingw32-g++ -o $(CURDIR)/GoodDocsF.exe $(CURDIR)/GoodDocsF.cpp
GoodDocsF-Darwin.exe: GoodDocsF.cpp
- /usr/local/Cellar/gcc/14.2.0_1/bin/g++-14 -o GoodDocsF-Darwin.exe GoodDocsF.cpp
+ /usr/local/Cellar/gcc/14.2.0_1/bin/g++-14 -o $(CURDIR)/GoodDocsF-Darwin.exe $(CURDIR)/GoodDocsF.cpp
GoodDocsF2.exe: GoodDocsF2.cpp
- /usr/local/Cellar/mingw-w64/12.0.0_1/bin/x86_64-w64-mingw32-g++ -o GoodDocsF2.exe GoodDocsF2.cpp
+ /usr/local/Cellar/mingw-w64/12.0.0_1/bin/x86_64-w64-mingw32-g++ -o $(CURDIR)/GoodDocsF2.exe $(CURDIR)/GoodDocsF2.cpp
GoodDocsF2-Darwin.exe: GoodDocsF2.cpp
- /usr/local/Cellar/gcc/14.2.0_1/bin/g++-14 -o GoodDocsF2-Darwin.exe GoodDocsF2.cpp
+ /usr/local/Cellar/gcc/14.2.0_1/bin/g++-14 -o $(CURDIR)/GoodDocsF2-Darwin.exe $(CURDIR)/GoodDocsF2.cpp