#-----------------------------------------------------------------------------
#
#      File         :  Makefile
#      Abstract     :  The makefile for building an Application
#      Last Revision:  03-01-02
#      SDK Version  :  3.40
#      Usage        :  To Build Target:
#                          make
#
#                      To Cleanup Intermdiate files only:
#                          make clean
#
#                      To Cleanup All files:
#                          make cleanall
#
#-----------------------------------------------------------------------------


#=============================================================================
# Modify the following lines as needed:
#
# ImageName   = The final image name
# TGT_TYPE    = Type of Target image [App | Library | Driver]
# PLX_DEBUG/DEBUG       = Add/remove the comment symbol(#) to disable/enable
#			  debugging. Use DEBUG instead of PLX_DEBUG for
#			  Plx SDK versions prior to 4.4.
#=============================================================================
ImageName   = AnalogMultiBoard$(DBG)
TGT_TYPE    = App
#DEBUG      = 1
#PLX_DEBUG  = 1
LIBS        = -lGscApi -lstdc++ -lpthread -lrt -lm -ldl

#=============================================================================
# Put all object files here. OBJECTS is used by the makefiles in Plx sdk
# versions prior to 4.4. It is ignored when building with Plx sdk v. 4.4.
#=============================================================================
OBJECTS	= \
	$(OBJ_DIR)/AnalogTestMultiBoard.o
PLX_OBJECTS	= \
	$(OBJ_DIR)/AnalogMultiBoard.o

#=============================================================================
# Include standard common definitions
#=============================================================================
include $(PLX_SDK_DIR)/Linux/Makefiles/Common.def


#=============================================================================
# Target builds
#=============================================================================
all:    DisplayParameters Build$(TGT_TYPE)



#=============================================================================
# Include definitions for the tools
#=============================================================================
include $(PLX_SDK_DIR)/Linux/Makefiles/Gcc.def



#=============================================================================
# Include definitions for building targets
#=============================================================================
include $(PLX_SDK_DIR)/Linux/Makefiles/Targets.def
