summaryrefslogtreecommitdiff
path: root/games/umark/files/Makefile
blob: 471af902dc086ea0ec8f1ce7029686e482f952d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
BIN=	umark

INCS=	`pkg-config gtk+-2.0 --cflags`
DEFS=	-DPACKAGE_DATA_DIR=\"${PREFIX}/share\" -DPACKAGE=\"${BIN}\"
LIBS=	`pkg-config gtk+-2.0 --libs`

OBJS = \
	callbacks.o \
	interface.o \
	main.o \
	support.o \

.c.o:
	${CC} ${CFLAGS} ${DEFS} ${INCS} -c $< -o $*.o

all:	${OBJS}
	${CC} ${CFLAGS} -o ${BIN} ${OBJS} ${LIBS}

clean:
	-rm -f *.o *.core