Merge pull request #1089 from xexyl/1991-fine-demo-makefile

Minor improvements to 1991/fine/{demo.sh,Makefile}
This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-10-18 12:38:23 -07:00
commit 1423bde345
2 files changed
+15 -11

No files matched your search

+3 -2
View File
@@ -39,7 +39,8 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
-Wno-int-conversion -Wno-pointer-to-int-cast -Wno-implicit-int
-Wno-int-conversion -Wno-pointer-to-int-cast -Wno-implicit-int -Wno-parentheses \
-Wno-return-type -Wno-deprecated-non-prototype -Wno-disabled-macro-expansion
# Common C compiler warning flags
#
@@ -94,7 +95,7 @@ endif
#
ifeq ($(CC),gcc)
#
#CSILENCE+=
CSILENCE+= -Wno-missing-parameter-type
#
#CWARN+=
#
+12 -9
View File
@@ -1,23 +1,26 @@
#!/usr/bin/env bash
#
# demo.sh - script to demonstrate IOCCC entry 1991/fine
#
make all || exit 1
echo -n "Green terra: "
echo "Green terra" |./fine
echo -n "Green terra <-> "
echo "Green terra" | ./fine
echo -n "Vex: "
echo -n "Vex <-> "
echo "Vex" | ./fine
echo -n "Tang: "
echo -n "Tang <-> "
echo "Tang" | ./fine
echo -n "Vend onyx: "
echo -n "Vend onyx <-> "
echo "Vend onyx" | ./fine
echo -n "Cheryl be flashy: "
echo -n "Cheryl be flashy <-> "
echo "Cheryl be flashy" | ./fine
echo -n "Rail: "
echo -n "Rail <-> "
echo "Rail" | ./fine
echo -n "Clerk: "
echo -n "Clerk <-> "
echo "Clerk" | ./fine
echo -n "The rug gary lenT: "
echo -n "The rug gary lenT <-> "
echo "The rug gary lenT" | ./fine