#
# Change the directory where to find the lib and include file
# of the forms library
#

LIBRARIES	= -lforms -lc_s -lfm_s -lgl_s -lm
CFLAGS		= -O -I/usr/staff/include
LFLAGS		= -L/usr/staff/lib -s
OBJS		= eb_convert.o eb_data.o eb_file.o eb_select.o eb_design.o\
		  eb_display.o eb_callback.o eb_forms.o eb_main.o
EXE		= easybase

all: $(EXE)

$(EXE): $(OBJS)
	$(CC) $(OBJS) $(LFLAGS) $(LIBRARIES) -o $(EXE)

.c.o:
	$(CC) $(CFLAGS) -c $<

clean:
	-/bin/rm -f $(OBJS)

empty:
	-/bin/rm -f $(OBJS)
	-/bin/rm -f $(EXE)
