# 
# Description: C ESI version 2 sample 32-bit make file for CICS TG SDK
#
# Licensed Materials - Property of IBM  
#  
# 5724-I81,5725-B65,5655-Y20,5655-ZA1 
#  
# (C) Copyright IBM Corp. 2014, 2022 All Rights Reserved.  
#  
# US Government Users Restricted Rights - Use, duplication or  
# disclosure restricted by GSA ADP Schedule Contract with  
# IBM Corp.  
# 
# Status: Version 10 Release 1 
#
# Intended to be run from the current directory
# Usage :
#     make -f make32 OS=<value>
#     make -f make32 OS=<value> clean
#   where
#     value is one of: 'AIX', 'LinuxI', 'LinuxP', 'LinuxZ'
#

# define platform specific settings
include ../include/c_$(OS).def
 
all:   msg ctgesib1

msg:
	@echo -e $(MSG1)
 
ctgesib1: ctgesib1.c
	@echo
	@echo "Creating Basic ESI C version 2 Sample 1, 32-bit"
	@rm -f $@
	$(CC) -c $(CFLAGS32) ctgesib1.c
	$(LD) -o $@ ctgesib1.o $(LPATH32) $(LFLAGC32)

clean:
	@echo "Removing executables and object files for ESI C version 2 Samples"
	rm -f ctgesib1.o
	rm -f ctgesib1
