# Makefile for Yopy yp3700 PDA
CC = /opt/bin/arm-linux-gcc
AS = /opt/bin/arm-linux-as
AR = /opt/bin/arm-linux-ar
CXX = /opt/bin/arm-linux-c++
CPP = /opt/bin/arm-linux-cpp
LD = /opt/bin/arm-linux-ld

TOPDIR = ../../..
SRCDIR = ../../../src
DSTDIR = ./result

all : uwkgtk1 
	cp INSTALL.sh uwk16x16.xpm uwkrc *.desktop ${DSTDIR}
	cp ${TOPDIR}/README ${DSTDIR}
#	cp ${TOPDIR}/doc/uwktip.html ${DSTDIR}
#	cp ${TOPDIR}/doc/keysetting.html ${DSTDIR}

uwkgtk1 :  
	${CC} -v -I /opt/arm-linux/include -L /opt/arm-linux/lib -lX11 -lXtst -Wall -s -o ${DSTDIR}/uwkgtk1 ${SRCDIR}/uwkgtk1.c `gtk-config --libs --cflags`




