Make 1985/sicherman close to original as possible
... I think :-) The thanks file gives much more details on how this works and as I am very tired and want to get this in so I can do other things I will not duplicate it here. It might become clear in that file why I believe it cannot be made any more like the original without breaking it though I left some questions for the reader to answer for themselves. The Makefile also had a fix: the 'alt' rule was in error so that running 'make alt' in the directory would compile it to 'alt', not 'sicherman.alt'.
This commit is contained in:
1 parent
4d0e146b8f
commit
824ad34200
3 files changed
+69
-46
No files matched your search
@@ -41,7 +41,8 @@ include ../../var.mk
|
||||
CSILENCE= -Wno-comment -Wno-deprecated-non-prototype -Wno-main -Wno-pedantic \
|
||||
-Wno-return-type -Wno-strict-prototypes -Wno-unused-parameter -Wno-implicit-int \
|
||||
-Wno-implicit-function-declaration -Wno-unused-value -Wno-multichar \
|
||||
-Wno-uninitialized -Wno-unused-but-set-parameter
|
||||
-Wno-uninitialized -Wno-unused-but-set-parameter -Wno-parentheses \
|
||||
-Wno-int-conversion
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -136,7 +137,10 @@ ${PROG}: ${PROG}.c
|
||||
|
||||
# alternative executable
|
||||
#
|
||||
alt: ${PROG}.alt.c
|
||||
alt: data ${ALT_TARGET}
|
||||
@${TRUE}
|
||||
|
||||
${PROG}.alt: ${PROG}.alt.c
|
||||
${CC} ${CFLAGS} -traditional-cpp $< -o $@ ${LDFLAGS}
|
||||
|
||||
# data files
|
||||
|
||||
Reference in new issue
Block a user