
# point this at your version of OTP
OTPROOT=/usr/local/otp/releases/otp_jam_sunos5_r4b


# list all object files here
OBJS=client.o rmod_random.o 

CC=gcc

CFLAGS=-ggdb -O2 -Wall -I$(OTPROOT)/usr/include 

LDFLAGS=-L$(OTPROOT)/usr/lib

LDLIBS=-lerl_interface -lei -lnsl -lsocket -lic

all: client

client: $(OBJS)
	$(CC) $(OBJS) -o $@ $(LDFLAGS) $(LDLIBS)


clean: 
	/bin/rm -f $(OBJS) *~ core client


# Command for starting the server
#
# erl -pa /clearcase/otp/libraries/ic/ebin -setcookie flash -sname babbis
#



