Index: trunk/Ohana/src/opihi/pantasks/Makefile
===================================================================
--- trunk/Ohana/src/opihi/pantasks/Makefile	(revision 11084)
+++ trunk/Ohana/src/opihi/pantasks/Makefile	(revision 11891)
@@ -1,5 +1,5 @@
-include ../../../Configure
 default: pantasks pantasks_client pantasks_server
 
+include ../../../Configure
 HOME    =       $(ROOT)/src/opihi
 SRC     =       $(HOME)/pantasks
@@ -8,9 +8,12 @@
 INC     =       $(HOME)/include
 DATA    =       $(DESTDATA)/pantasks
+include ../Makefile.Common
 
-# link flags 
-LIBS1   =       -ldvo -lkapa -lFITS -lohana $(LIBFLAGS)
-LIBS2   =       -lbasiccmd -ldatacmd -lastrocmd -lshell -ldata 
-LFLAGS  =       -L$(LIB) -L$(DESTLIB) $(LIBDIRS) $(LIBS2) $(LIBS1) 
+# programs may add their own internal requirements here
+LIBS1   =       -lbasiccmd -ldatacmd -lastrocmd -lshell -ldata 
+LIBS2   =       -ldvo -lkapa -lFITS -lohana
+FULL_CFLAGS   = $(BASE_CFLAGS)
+FULL_CPPFLAGS = $(BASE_CPPFLAGS)
+FULL_LDFLAGS  = $(LIBS1) $(LIBS2) $(BASE_LDFLAGS)
 
 # sched user commands and support functions ########################
@@ -117,4 +120,2 @@
 
 .PHONY: pantasks pantasks_client pantasks_server
-
-include ../Makefile.Common
