Add 2018/bellard alt code + format/typo checks

The alt code should work for Windows, based on the author's remarks.

Format and typo check README.md file.

I believe this completes this entry's review.
This commit is contained in:
Cody Boone Ferguson committed 2023-12-11 12:34:51 -08:00
1 parent c88801c35d
commit d1d7faecfc
4 files changed
+177 -5

No files matched your search

+5 -2
View File
@@ -115,8 +115,8 @@ OBJ= ${PROG}.o
DATA= fruits.bin lena512.bin vintage_cars.bin Lenna.png
TARGET= ${PROG}
#
ALT_OBJ=
ALT_TARGET=
ALT_OBJ= ${PROG}.alt.o
ALT_TARGET= ${PROG}.alt
#################
@@ -139,6 +139,9 @@ ${PROG}: ${PROG}.c
alt: data ${ALT_TARGET}
@${TRUE}
${PROG}.alt: ${PROG}.alt.c
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
# data files
#
data: ${DATA}