summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJuan Manuel Tomas <jtomas1815@gmail.com>2021-08-14 13:28:00 -0300
committerJuan Manuel Tomas <jtomas1815@gmail.com>2021-08-14 13:28:00 -0300
commitb79a4d1e41f273945ebac8c620702e73ad63cb51 (patch)
tree784641f42c9d4b2ca7a32dc95a9cc453ab6b8d6c /Makefile
downloadsort-b79a4d1e41f273945ebac8c620702e73ad63cb51.tar.gz
sort-b79a4d1e41f273945ebac8c620702e73ad63cb51.zip
Initial Commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c88f7a1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,5 @@
+main: main.o
+ gcc main.o -o main `sdl2-config --libs` -lSDL2_image
+
+main.o: main.c
+ gcc -c main.c -o main.o `sdl2-config --cflags`