   DPS_INCLUDES = ../../include
 EXTRA_INCLUDES = -I$(DPS_INCLUDES)
        DPS_LIB = ../../lib/dps/libdps.a
      DPSTK_LIB = ../../lib/dpstk/libdpstk.a
LOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(DPSTK_LIB) $(DPS_LIB) $(XLIB)
   SYS_LIBRARIES = -lm
         PSWRAP = ../../clients/pswrap/pswrap

#ifndef ImageDir
#define ImageDir $(LIBDIR)/images
#endif
       IMAGEDIR = ImageDir

SRCS = wwraps.psw wonderland.c winit.c

OBJS = wwraps.o wonderland.o winit.o

DERIVED_FILES = wwraps.h wwraps.c wonderwraps.c

.SUFFIXES: .psw

.psw.o :
	$(PSWRAP) -o $*.c -h $*.h $<
	$(CC) -c $(CFLAGS) $*.c
	$(RM) $*.c

ComplexProgramTarget(wonderland)

InstallAppDefaults(Wonderland)
InstallNamedNonExec(flowers90.ps,Wonderland.ps,$(IMAGEDIR))

clean ::
	$(RM) $(DERIVED_FILES)

