SubDir TOP tests libdownload ; SubDirSysHdrs [ FDirName $(TOP) libs libdownload ] ; Application DownloadTest : TheApp.cpp : be $(TARGET_LIBSTDC++) translation libdownload.a curl ; Depends DownloadTest : libdownload.a ; LINKFLAGS on DownloadTest += -L$(CURL_LIBRARY_DIR) ;