diff options
| author | Dave Tang <davetingpongtang@gmail.com> | 2026-06-22 20:12:06 +0900 |
|---|---|---|
| committer | Dave Tang <davetingpongtang@gmail.com> | 2026-06-22 20:12:06 +0900 |
| commit | 319f10b1f20170adf7efa05938b6bb23584c4729 (patch) | |
| tree | f3a680d1a91c232f4b71912dbca4581056ad8477 /examples/visual/Makefile | |
GNU Make notes
Diffstat (limited to 'examples/visual/Makefile')
| -rw-r--r-- | examples/visual/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/visual/Makefile b/examples/visual/Makefile new file mode 100644 index 0000000..6352ecb --- /dev/null +++ b/examples/visual/Makefile @@ -0,0 +1,28 @@ +# Simple Makefile Example + +# Default target +all: build test clean + +# Build target +build: compile link + @echo "Building the project..." + +# Compile target +compile: init + @echo "Compiling source files..." + +# Link target +link: init + @echo "Linking objects..." + +# Test target +test: build + @echo "Running tests..." + +# Clean target +clean: + @echo "Cleaning up..." + +# Init target (independent target) +init: + @echo "Initializing the build environment..." |
