#
# ~ppr/src/rpprd/rpprd.c
# Copyright 1996, Trinity College Computing Center.
# Written by David Chappell.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose and without fee is hereby granted, provided
# that the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation.  This software and documentation are provided "as is" without
# express or implied warranty.
#
# This file was last revised 23 September 1996.
#

include ../include/global.mk

rpprd$(DOTEXE): rpprd_main.$(OBJ) rpprd_sendjob.$(OBJ) rpprd_socket.$(OBJ) rpprd_fifo.$(OBJ)
	$(CC) $(CFLAGS) -o rpprd$(DOTEXE) rpprd_main.$(OBJ) rpprd_sendjob.$(OBJ) \
		rpprd_socket.$(OBJ) rpprd_fifo.$(OBJ)

rpprd_main.$(OBJ): rpprd_main.c ../include/global_defines.h ../include/rpprd.h
	$(CC) $(CFLAGS) -c rpprd_main.c

rpprd_sendjob.$(OBJ): rpprd_sendjob.c ../include/global_defines.h ../include/rpprd.h
	$(CC) $(CFLAGS) -c rpprd_sendjob.c

rpprd_socket.$(OBJ): rpprd_socket.c ../include/global_defines.h ../include/rpprd.h
	$(CC) $(CFLAGS) -c rpprd_socket.c

rpprd_fifo.$(OBJ): rpprd_fifo.c ../include/global_defines.h ../include/rpprd.h
	$(CC) $(CFLAGS) -c rpprd_fifo.c

clean:
	$(RMF) rpprd$(DOTEXE) *.$(OBJ) *~ *.bak

# end of file
