# Generated automatically from Makefile.in by configure.
SHELL = /bin/sh
srcdir = .
PLATFORM = Linux-armv5tel
PLATFORM_DIR = ../${PLATFORM}
CC = gcc
.SUFFIXES:
.SUFFIXES: .c .o

PKG_CONFIG = pkg-config
LIBS = 

CFLAGS = -g -O2 -Wall `${PKG_CONFIG} --cflags gtk+-2.0`
LDFLAGS =  -lapm ${LIBS} `${PKG_CONFIG} --libs gtk+-2.0`
EXEC = ${PLATFORM_DIR}/${PROG}

############ Things to change for different programs

PROG = Battery-Status

SRCS = main.c

OBJECTS = main.o

############ Things to keep the same

${EXEC}: ${PLATFORM_DIR} ${OBJECTS}
	${CC} -o ${EXEC} ${OBJECTS} ${LDFLAGS}

${PLATFORM_DIR}:
	mkdir ${PLATFORM_DIR}

clean:
	rm -f *.o Makefile.bak

depend:
	makedepend -- ${CFLAGS} -- ${SRCS}

Makefile: Makefile.in config.status
	./config.status

config.h: config.h.in
	./config.status

config.status: configure
	./configure --with-platform="${PLATFORM}" --enable-rox

configure: configure.in
	autoconf
