aboutsummaryrefslogtreecommitdiff
path: root/progress/Makefile
diff options
context:
space:
mode:
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)