
BASE = /usr/local/dx

include /usr/local/dx/lib_/arch.mak

LIBDXL=$(BASE)/lib_/libDXL.a

CFLAGS   = -O -D -DBASE=\"$(BASE)\" -I$(BASE)/include \
	 $(DXCFLAGS)
 

LIBS = -L$(BASE)/lib_  \
        $(LIBDXL) $(DXEXECLINKLIBS)

# OTHERLIBS = $(DXEXECLINKLIBS)

# XLIBS   = -lXm -lXt -lXmu -lX11 -lw -lgen


all:  sealevel maptoplane xapp xapp_supervise demoapp

sealevel: sealevel.o
	$(CC) sealevel.o $(LIBS) -o sealevel 

maptoplane: maptoplane.o
	$(CC) maptoplane.o $(LIBS) -o maptoplane 

xapp:  xapp.o
	$(CC) xapp.o $(LIBS) $(XLIBS) -o xapp 

xapp_supervise:  xapp_supervise.o
	$(CC) xapp_supervise.o $(LIBS) $(XLIBS) -o xapp_supervise 

demoapp:  demoapp.o
	$(CC) demoapp.o $(LIBS) $(XLIBS) -o demoapp 
