Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile « steam-mobile - github.com/EionRobb/pidgin-opensteamworks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5c4ed381ccdb281d6cb1f017c9767a2db0915053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

COMPILER = gcc
PKG_CONFIG ?= pkg-config

LIBPURPLE_CFLAGS += $(shell ${PKG_CONFIG} --cflags glib-2.0 json-glib-1.0 purple nss gnome-keyring-1)
LIBPURPLE_LIBS += $(shell ${PKG_CONFIG} --libs glib-2.0 json-glib-1.0 purple nss)

STEAM_SOURCES = \
	steam_connection.c \
	libsteam.c 

.PHONY:	all clean install
all: libsteam.so
clean:
	rm -f libsteam.so

libsteam.so: ${STEAM_SOURCES}
	${COMPILER} -Wall -I. -g -O2 -fPIC -pipe ${STEAM_SOURCES} -o $@ ${LIBPURPLE_CFLAGS} ${LIBPURPLE_LIBS} -shared