summary refs log tree commit diff
path: root/Makefile
blob: c2457d3dbaec259d3f272d5d7cd8cc0dd3ddedc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CFLAGS += -std=c99 -Wall -Wextra -Wpedantic

include config.mk

BINS = dump freecell sol

all: $(BINS)

$(BINS): cards.o

.o:
	$(CC) $(LDFLAGS) $< cards.o $(LDLIBS) -o $@

cards.o dump.o freecell.o sol.o: cards.h

freecell.o sol.o: layout.h stack.h

clean:
	rm -f $(BINS) *.o *.bmp