# $Id: Makefile,v 1.5 2006/09/22 23:06:30 cnepveu Exp $
#
# This source code copyright (c) Hexago Inc. 2002-2006.
#
#  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)/unix-main.o $(OBJDIR)/unix-echo-request.o
BIN=../bin

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

all: $(OBJ)

$(OBJDIR)/unix-main.o:unix-main.c
	$(CC) $(CFLAGS) -c unix-main.c -o $(OBJDIR)/unix-main.o $(DEFINES)

$(OBJDIR)/unix-echo-request.o:unix-echo-request.c
	$(CC) $(CFLAGS) -c unix-echo-request.c -o $(OBJDIR)/unix-echo-request.o $(DEFINES)

clean:
	rm -f $(OBJDIR)/unix-main.o $(OBJDIR)/unix-echo-request.o

install: all
