blob: 90e71e5a1bc92d54da7c79f8486c6fe3914bdd2a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
CFLAGS += -std=c99 -Wall -Wextra -Wpedantic
CFLAGS += -Icards
include config.mk
BINS = freecell sol
OBJS = ${BINS:%=%.o}
all: ${BINS}
${BINS}: cards/cards.o
.o:
${CC} ${LDFLAGS} $< cards/cards.o ${LDLIBS} -o $@
${OBJS} cards/cards.o: cards/cards.h
${OBJS}: asset.h layout.h stack.h
cards/cards.h:
git submodule update --init
clean:
rm -f ${BINS} *.o cards/*.o
|