Index: trunk/ppStack/src/ppStack.h
===================================================================
--- trunk/ppStack/src/ppStack.h	(revision 27427)
+++ trunk/ppStack/src/ppStack.h	(revision 28253)
@@ -26,4 +26,5 @@
 typedef enum {
     PPSTACK_FILES_PREPARE,              // Files for preparation
+    PPSTACK_FILES_TARGET,               // Files for target generation
     PPSTACK_FILES_CONVOLVE,             // Files for convolution
     PPSTACK_FILES_STACK,                // Stack files
@@ -115,6 +116,12 @@
 void ppStackVersionPrint(void);
 
+/// Generate target PSF image
+psImage *ppStackTarget(ppStackOptions *options, // Options for stacking
+                       pmConfig *config         // Configuration
+    );
+
 /// Convolve image to match specified seeing
 bool ppStackMatch(pmReadout *readout,   // Readout to be convolved; replaced with output
+                  const psImage *target,   // Target PSF image
                   ppStackOptions *options, // Options for stacking
                   int index,            // Index of image to match
