diff options
author | scratko <m@scratko.xyz> | 2024-04-02 17:43:35 +0300 |
---|---|---|
committer | scratko <m@scratko.xyz> | 2024-04-02 17:43:35 +0300 |
commit | bdee2852c13f6b02ec5207ded584839a3118233e (patch) | |
tree | 39f1c14be91fb848ce0f94a64532e48a7667e5de /Makefile | |
download | pacman-bdee2852c13f6b02ec5207ded584839a3118233e.tar.gz pacman-bdee2852c13f6b02ec5207ded584839a3118233e.tar.bz2 pacman-bdee2852c13f6b02ec5207ded584839a3118233e.zip |
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8754c3c --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +CC=gcc +CFLAGS=-Wall -g -c + +all: pacman + +pacman: ghosts.o field.o pac.o pacman.o + $(CC) ghosts.o field.o pac.o pacman.o -lncurses -o pacman + +field.o: field.c + $(CC) $(CFLAGS) field.c + +ghosts.o: ghosts.c + $(CC) $(CFLAGS) ghosts.c + +pacman.o: pacman.c + $(CC) $(CFLAGS) pacman.c + +pac.o: pac.c + $(CC) $(CFLAGS) pac.c |