From 319f10b1f20170adf7efa05938b6bb23584c4729 Mon Sep 17 00:00:00 2001 From: Dave Tang Date: Mon, 22 Jun 2026 20:12:06 +0900 Subject: GNU Make notes --- examples/visual/Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 examples/visual/Makefile (limited to 'examples/visual/Makefile') 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..." -- cgit v1.3.1