aboutsummaryrefslogtreecommitdiff
path: root/progress/Makefile
diff options
context:
space:
mode:
authorThomas Guillermo Albers Raviola <thomas@thomaslabs.org>2026-01-16 19:38:33 +0100
committerThomas Guillermo Albers Raviola <thomas@thomaslabs.org>2026-01-16 19:38:33 +0100
commita90db3b7b6e87e24c789b5db222f1cef92809bde (patch)
tree2096abcb1ac1ea970a51e598257186bc4e030b22 /progress/Makefile
Initial commit
Diffstat (limited to 'progress/Makefile')
-rw-r--r--progress/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/progress/Makefile b/progress/Makefile
new file mode 100644
index 0000000..37166bb
--- /dev/null
+++ b/progress/Makefile
@@ -0,0 +1,12 @@
+TARGET=highnoon
+SRC=$(wildcard src/*.c)
+OBJ=$(addprefix obj/, $(SRC:src/%.c=%.o))
+LDFLAGS=-lSDL2 -lSDL2_mixer -lSDL2_image -lSDL2_ttf
+
+obj/%.o : src/%.c
+ $(CC) -c $< -o $@
+
+$(TARGET) : src/main.h $(OBJ)
+ $(CC) $(OBJ) -o $@ $(LDFLAGS)
+
+all: $(TARGET)