aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5e6c997..66364e4 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CC_D = gcc -Wall -Wextra -pedantic -g -O0
CC_R = gcc -Wall -Wextra -pedantic -g -O2
CC ?= CC_D
-OBJ =
+OBJ = snippets/udpecho
all:
echo "Make what, mate? (no default target)" >&2
@@ -10,3 +10,6 @@ all:
clean:
rm -f $(OBJ)
+
+snippets/udpecho: snippets/udpecho.c
+ $(CC) -o snippets/udpecho snippets/udpecho.c