summaryrefslogtreecommitdiff
path: root/Week1-Pacman/Makefile
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2024-12-13 16:22:39 +0300
committerBoredGuy <osome3717@gmail.com>2024-12-13 16:22:39 +0300
commitebc3c130ed4d8ee6c44fc902bc4ee955799d1ac5 (patch)
treefd42ad5e77178f3aa7dc533ed0dde475cff3818a /Week1-Pacman/Makefile
Initial Commit
Diffstat (limited to 'Week1-Pacman/Makefile')
-rw-r--r--Week1-Pacman/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Week1-Pacman/Makefile b/Week1-Pacman/Makefile
new file mode 100644
index 0000000..26567a9
--- /dev/null
+++ b/Week1-Pacman/Makefile
@@ -0,0 +1,18 @@
+##
+# Project Title
+#
+# @file
+# @version 0.1
+
+CC=gcc
+CFLAGS=-Wall -lSDL2
+HEADERS=$(wildcard src/*.h)
+CFILES=$(wildcard src/*.c)
+
+build/pacman: $(HEADERS) $(CFILES)
+ $(CC) $(CFILES) -o build/pacman $(CFLAGS)
+
+run: build/pacman
+ build/pacman
+
+# end