1#!/usr/bin/env sh
2# Scan conf.h to find all of the '#define X3270_xxx' statements, and translate
3# them to '-DX3270_xxx' options for use by qcpp.
4# This should just be inline in the Makefile, but so far I haven't found a
5# way to do that.
6grep '^#define X3270_' conf.h | awk '{print "-D" $2}'
7