-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
963673a
commit efd56f6
Showing
2 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
CC = g++ | ||
CFLAGS = -Wall | ||
OUTDIR = ./out/ | ||
|
||
# naively compile all of the modules into separate files in the out directory | ||
|
||
all: | ||
mkdir -p $(OUTDIR) | ||
$(CC) $(CFLAGS) -o $(OUTDIR)1_1_about_me module_1/ex_01.cpp | ||
$(CC) $(CFLAGS) -o $(OUTDIR)1_2_pyramid module_1/ex_02.cpp | ||
$(CC) $(CFLAGS) -o $(OUTDIR)2_bank_account module_2/*.cpp | ||
$(CC) $(CFLAGS) -o $(OUTDIR)3_sequence_test module_3/*.cpp | ||
$(CC) $(CFLAGS) -o $(OUTDIR)4_polynomial_exam module_4/{poly0,polyexam0}.cpp | ||
$(CC) $(CFLAGS) -o $(OUTDIR)4_polynomial_test module_4/{poly0,polytest0}.cpp | ||
$(CC) $(CFLAGS) -o $(OUTDIR)5_linked_list_demo module_5/*.cpp | ||
|
||
clean: | ||
rm -r $(OUTDIR) |