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

include config.mk

BINS = dump example

all: ${BINS}

${BINS}: cards.o

.o:
	${CC} ${LDFLAGS} $< cards.o ${LDLIBS} -o $@

cards.o dump.o example.o: cards.h

clean:
	rm -f ${BINS} *.o *.bmp