# Copyright (C) 1994 Be Inc.  All Rights Reserved

SHELL		:= /bin/sh
APP_NAME	:= FtpIt
LDFLAGS		:= -lbe -ltracker -lnetapi -lstdc++.r4
INCLUDES	:= -I/boot/develop/headers/be/add-ons/tracker/

SRCS := FtpIt.cpp FtpClient.cpp

OBJS := $(SRCS_LIST_TO_OBJS)

FtpIt: FtpIt.o FtpClient.o
	cc -o FtpIt FtpIt.o FtpClient.o $(LDFLAGS)
	
FtpIt.o: FtpIt.h FtpIt.cpp FtpClient.h
	cc -c FtpIt.cpp $(INCLUDES)
	
FtpClient.o: FtpClient.h FtpClient.cpp
	cc -c FtpClient.cpp $(INCLUDES)
	
install: FtpIt
	cp FtpIt /boot/home/config/add-ons/Tracker/FtpIt-I

clean::
	rm -f *.o
	rm -f FtpIt
