#
# GNU makefile to build ArcSDE C API applications
#

# Import platform specific build options
#include SunOS_32.opt
include AIX_32.opt

# List of ArcSDE C API programs
CSOURCES = layer_test.c	\
	   util_lib.c

# Name of the resulting executable
PROGRAM = layer_test

OBJECTS = $(CSOURCES:.c=.o)

$(PROGRAM): $(OBJECTS)
	@echo building $@
	$(CC) $(CFLAGS) $(OBJECTS) -o $@ $(CSYSLIBS)
	chmod 755 $@

clean:
	rm -f $(OBJECTS) $(PROGRAM)
