diff -r 30d751ac6d49 -r 47438813ede2 ftp/Makefile --- a/ftp/Makefile Mon Jan 18 14:10:13 2010 +0530 +++ b/ftp/Makefile Mon Jan 18 17:21:39 2010 +0530 @@ -1,17 +1,29 @@ # Makefile: To build client and server for ftp implemented using RPC -all: stubs ftp_xdr.o ftps ftpc +all: stubs ftp_xdr.o server client + +debug: stubs ftp_xdr.o ftps-dbg ftpc-dbg server: ftps +server-dbg: ftps-dbg + client: ftpc +client-dbg: ftpc-dbg + ftps: ftp_svc.c ftps.c ftp_xdr.o ftp.h gcc ftp_svc.c ftps.c ftp_xdr.o -o ftps +ftps-dbg: ftp_svc.c ftps.c ftp_xdr.o ftp.h + gcc ftp_svc.c ftps.c ftp_xdr.o -o ftps-dbg -g + ftpc: ftpc.c ftp_clnt.c ftp_xdr.o ftp.h gcc ftpc.c ftp_clnt.c ftp_xdr.o -o ftpc +ftpc-dbg: ftpc.c ftp_clnt.c ftp_xdr.o ftp.h + gcc ftpc.c ftp_clnt.c ftp_xdr.o -o ftpc-dbg -g + ftp_xdr.o: ftp_xdr.c ftp.h gcc -c ftp_xdr.c @@ -19,4 +31,4 @@ rpcgen ftp.x clean: - rm ftp_xdr.o ftpc ftps ftp_clnt.c ftp_svc.c ftp_xdr.c ftp.h + rm ftp_xdr.o ftpc ftps ftp_clnt.c ftp_svc.c ftp_xdr.c ftp.h ftps-dbg ftpc-dbg