aboutsummaryrefslogtreecommitdiff
path: root/original/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 /original/Makefile
Initial commit
Diffstat (limited to 'original/Makefile')
-rw-r--r--original/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/original/Makefile b/original/Makefile
new file mode 100644
index 0000000..14fcb0a
--- /dev/null
+++ b/original/Makefile
@@ -0,0 +1,15 @@
+SRC=colisiones.c loadscreen.c main.c procesar.c render.c
+OBJ=$(SRC:%.c=%.o)
+TARGET=highnoon
+
+%.o : %.c
+ $(CC) -c $< -o $@
+
+$(TARGET) : main.h $(OBJ)
+ $(CC) $(OBJ) -lSDL2 -lSDL2_image -o $@
+
+all: $(TARGET)
+
+.PHONY: clean
+clean:
+ rm -r $(OBJ) $(TARGET)