From 573573de09e4123dfab2fe0d18170b47090caf11 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 26 Feb 2023 16:43:03 -0800 Subject: [PATCH] finish Makefile fix of 1989/tromp --- 1989/tromp/Makefile | 12 +++++------- 1989/tromp/README.md | 2 ++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/1989/tromp/Makefile b/1989/tromp/Makefile index e40a2116b..ea914919b 100644 --- a/1989/tromp/Makefile +++ b/1989/tromp/Makefile @@ -408,7 +408,9 @@ CC= cc # ifeq ($(CC),clang) # -#CSILENCE+= +CSILENCE+= -Wno-comma -Wno-format-nonliteral -Wno-missing-prototypes \ + -Wno-missing-variable-declarations -Wno-pedantic \ + -Wno-poison-system-directories -Wno-strict-prototypes # CWARN+= -Weverything # @@ -436,8 +438,8 @@ OBJ= ${PROG}.o DATA= TARGET= ${PROG} # -ALT_OBJ= ${PROG}.orig.o -ALT_TARGET= ${PROG}.orig +ALT_OBJ= +ALT_TARGET= ################# @@ -460,10 +462,6 @@ ${PROG}: ${PROG}.c alt: data ${ALT_TARGET} @${TRUE} -${PROG}.orig: ${PROG}.orig.c - @echo "NOTE: The original source may not compile using modern compilers." - ${CC} ${CFLAGS} $< -o $@ ${LIBS} - # data files # data: ${DATA} diff --git a/1989/tromp/README.md b/1989/tromp/README.md index f03b9040a..474dda7a6 100644 --- a/1989/tromp/README.md +++ b/1989/tromp/README.md @@ -10,6 +10,8 @@ make all + NOTE: This entry may not compile when using modern compilers. + ### To run ./tromp [drops_per_sec [cmd_string]]