# Makefile for the Silly X Protocol Compressor
# Rob Ryan (robr@cmu.edu)
# this assumes that cc can handle simple prototypes.
# if your compiler can't edit the sxpc.c to put
# all the function definitions in the old style.
# For generic BSD systems  (IBM RT, Decstation)
sxpc:
	$(CC) -o sxpc sxpc.c

# for RS/6000
#sxpc:
#	cc -D_BSD -o sxpc sxpc.c -lbsd

# for HP
#sxpc:
#	 c89 -D_INCLUDE_POSIX_SOURCE -D_INCLUDE_ANSI_SOURCE
-D_INCLUDE_HPUX_SOURCE -D_INCLUDE_AES_SOURCE -DPOSIX -o sxpc sxpc.c
