From ebc3c130ed4d8ee6c44fc902bc4ee955799d1ac5 Mon Sep 17 00:00:00 2001 From: BoredGuy Date: Fri, 13 Dec 2024 16:22:39 +0300 Subject: Initial Commit --- Week1-Pacman/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Week1-Pacman/Makefile (limited to 'Week1-Pacman/Makefile') 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 -- cgit v1.2.3