
MODNAME = dx2dxf

FILES = outboard.o $(MODNAME).o 

BASE = /usr/lpp/dx

# for Silicon Graphics machines, uncomment the 4 lines below
CFLAGS   = -O -Dsgi -I$(BASE)/include
LITELIBS = -L$(BASE)/lib_sgi -lDXlite -lm
CC = cc

# for IBM RS6000 machines, uncomment the 4 lines below
#CFLAGS   = -O -Dibm6000 -I$(BASE)/include 
#LITELIBS = -L$(BASE)/lib_ibm6000 -lDXlite -lm
#CC = gcc

all:    module 

module:	$(MODNAME).o
	$(CC) $(CFLAGS) -DUSERMODULE=m_$(MODNAME) -c $(BASE)/lib/outboard.c
	$(CC) $(LOADMAP) $(FILES) $(LITELIBS) -o $(MODNAME) 
	rm outboard.o

