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