1#!/bin/sh 2#- 3# SPDX-License-Identifier: CC0-1.0 4# 5# Written in 2021 by Alfonso Sabato Siciliano. 6# To the extent possible under law, the author has dedicated all copyright 7# and related and neighboring rights to this software to the public domain 8# worldwide. This software is distributed without any warranty, see: 9# <http://creativecommons.org/publicdomain/zero/1.0/>. 10 11libpath=../lib 12examples="menu checklist radiolist mixedlist theme infobox yesno msgbox \ 13 datebox form formw timebox rangebox pause" 14 15for e in $examples 16do 17 cc -g -Wall -Wextra -I$libpath ${e}.c -o $e -L$libpath -lbsddialog \ 18 -Wl,-rpath=$libpath 19done 20