back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 15ebcde1b167bbf759ea100c969b10ad47e966ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CC=gcc
CFLAGS=-Wall -g -c

LIBS = -lncurses

all: pacman

%.o: %%.h
	$(CC) $(CFLAGS) $< -o $@

OBJMODULES=field.o ghosts.o pac.o queue.o pacman.o

pacman: $(OBJMODULES)
	$(CC) $(LIBS) $^ -o $@