From dba2163e8e68854cd151b2d09aada7b58c3658d4 Mon Sep 17 00:00:00 2001 From: Tongkun Zhang Date: Wed, 6 Oct 2021 10:30:34 -0400 Subject: [PATCH] Include PGM.CLLE --- mk/filetypeTargetMap.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mk/filetypeTargetMap.inc b/mk/filetypeTargetMap.inc index a1d1c5c..b2f66ed 100644 --- a/mk/filetypeTargetMap.inc +++ b/mk/filetypeTargetMap.inc @@ -1,6 +1,9 @@ #! /QOpenSys/pkgs/bin/bash declare -A FILETARGETMAPPING; +FILETARGETMAPPING[PGM.RPGLE]=PGM +FILETARGETMAPPING[PGM.CLLE]=PGM +FILETARGETMAPPING[PGM.C]=PGM FILETARGETMAPPING[CMDSRC]=CMD FILETARGETMAPPING[DSPF]=FILE FILETARGETMAPPING[LF]=FILE @@ -13,8 +16,6 @@ FILETARGETMAPPING[CLLE]=MODULE FILETARGETMAPPING[SQLC]=MODULE FILETARGETMAPPING[SQLRPGLE]=MODULE FILETARGETMAPPING[MODULE]=PGM -FILETARGETMAPPING[PGM.RPGLE]=PGM -FILETARGETMAPPING[PGM.C]=PGM FILETARGETMAPPING[CBL]=PGM FILETARGETMAPPING[RPG]=PGM FILETARGETMAPPING[ILEPGM]=PGM @@ -43,6 +44,7 @@ get_target_from_srcfile() { targetName="${filename%.${i}}"; targetName=$(echo $targetName | awk -F- '{ print $1 }') echo "${targetName}.${FILETARGETMAPPING[$i]}" + break fi done }