diff options
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 |