# $Copyright:	$
# Copyright (c) 2000 by Steve Baker
# All rights reserved
#  
# This software is provided as is without any express or implied
# warranties, including, without limitation, the implied warranties
# of merchantability and fitness for a particular purpose.

CC=gcc

#SFLAGS=-ggdb -shared -fPIC
#SFLAGS=-O -m486 -shared -fPIC

# LDFLAGS=-s
# LDFLAGS=-pg

#SHARED=io.so

all:	$(SHARED)

%.so: %.c ../lang.h
	$(CC) $(SFLAGS) -o $@ $< $(LDFLAGS)

%.o: %.c ../lang.h
	$(CC) ${CFLAGS} -c $< -o $@
