summaryrefslogtreecommitdiff
path: root/examples/visual/Makefile
blob: 6352ecb5ec1b12fa1ce07d544db681c6eaa14fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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..."