Add 2006/monge/alt code + format/typo checks
The alt code allows one to reconfigure the dimensions and the number of iterations, based on the author's remarks (three #defines at the top of the file). Format/typo check README.md file. Update bugs.md about the entry. It not only requires rwx memory but also x86/x86_64 machines (this was already noted). This was said to be worth fixing if possible (though in some systems it's impossible) so I kept it that way. I was going to suggest alt version instead but since it seemed like a good idea to have an alt version I decided to make it so that it might be good if they update both versions.
This commit is contained in:
1 parent
471a1f48fa
commit
b6ed00e3b4
6 files changed
+190
-31
No files matched your search
+6
-3
@@ -42,7 +42,7 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-conditional-type-mismatch \
|
||||
-Wno-declaration-after-statement -Wno-dollar-in-identifier-extension \
|
||||
-Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-incompatible-pointer-types -Wno-int-conversion -Wno-parentheses \
|
||||
-Wno-return-type -Wno-strict-prototypes
|
||||
-Wno-return-type -Wno-strict-prototypes -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -119,8 +119,8 @@ OBJ= ${PROG}.o
|
||||
DATA=
|
||||
TARGET= ${PROG}
|
||||
#
|
||||
ALT_OBJ=
|
||||
ALT_TARGET=
|
||||
ALT_OBJ= ${PROG}.alt.o
|
||||
ALT_TARGET= ${PROG}.alt
|
||||
|
||||
|
||||
#################
|
||||
@@ -143,6 +143,9 @@ ${PROG}: ${PROG}.c
|
||||
alt: data ${ALT_TARGET}
|
||||
@${TRUE}
|
||||
|
||||
${PROG}.alt: ${PROG}.alt.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
|
||||
# data files
|
||||
#
|
||||
data: ${DATA}
|
||||
|
||||
Reference in new issue
Block a user