diff options
author | BoredGuy <osome3717@gmail.com> | 2024-12-13 16:22:39 +0300 |
---|---|---|
committer | BoredGuy <osome3717@gmail.com> | 2024-12-13 16:22:39 +0300 |
commit | ebc3c130ed4d8ee6c44fc902bc4ee955799d1ac5 (patch) | |
tree | fd42ad5e77178f3aa7dc533ed0dde475cff3818a /Week1-Pacman/Makefile |
Initial Commit
Diffstat (limited to 'Week1-Pacman/Makefile')
-rw-r--r-- | Week1-Pacman/Makefile | 18 |
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 |