aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfoswret <foswret@posteo.com>2025-12-11 20:22:55 -0600
committerfoswret <foswret@posteo.com>2025-12-11 20:22:55 -0600
commitde77826633fc128b915e999a9adf10f088b4d3f3 (patch)
tree65cbe77d7c04cc7fc3bb84a64e6b80889675a0d8 /Makefile
parent0ea73247a8ba4036567a9dc28b6133d4b58507b3 (diff)
added src/, updated README.md
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a53e318..67861a0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
CC = cc
-OBJS = draw.o main.o
+DIR = src
+OBJS = $(DIR)/draw.o $(DIR)/main.o
CAIROI = `pkg-config --cflags -libs cairo cairo-pdf`
.PHONY: clean all
@@ -9,5 +10,6 @@ all: output
output: $(OBJS)
$(CC) $(CAIROI) -o output $(OBJS)
+
clean:
-rm -f $(OBJS) output