# $Id: Makefile,v 1.11 2005/06/07 21:16:49 dgregoire Exp $
#
# Copyright (c) 2001-2005 Hexago Inc. All rights reserved.
#
#  LICENSE NOTICE: You may use and modify this source code only if you
#  have executed a valid license agreement with Hexago Inc. granting
#  you the right to do so, the said license agreement governing such
#  use and modifications.   Copyright or other intellectual property
#  notices are not to be removed from the source code.
#

include ../../Mk/mk-$(target).mk

OBJDIR=../../objs
OBJ=$(OBJDIR)/xmlparse.o $(OBJDIR)/xml_req.o $(OBJDIR)/xml_tun.o
BIN=../bin

CFLAGS=-O2 -g -Wall -I../../include -I../../platform/$(target)
CC=gcc

all: $(OBJ) 

$(OBJDIR)/xmlparse.o:xmlparse.c
	$(CC) $(CFLAGS) -c xmlparse.c -o $(OBJDIR)/xmlparse.o $(DEFINES)
$(OBJDIR)/xml_req.o:xml_req.c
	$(CC) $(CFLAGS) -c xml_req.c -o $(OBJDIR)/xml_req.o $(DEFINES)
$(OBJDIR)/xml_tun.o:xml_tun.c
	$(CC) $(CFLAGS) -c xml_tun.c -o $(OBJDIR)/xml_tun.o $(DEFINES)

clean:
	rm -f $(OBJDIR)/xmlparse.o $(OBJDIR)/xml_req.o $(OBJDIR)/xml_tun.o

install: all
