Add try.sh to 1985/sicherman
The Makefile was also modified to have a sicherman.alt rule as it requires -traditional-cpp. There is an argument that this should be removed and instead the alt2 version (which is compiled if a compiler fails to compile sicherman.c because of the 'wrong' number of args to main() - one arg) would become the alt version because if someone wants to try the original code they can look at sicherman.orig.c. This can be done another time if it's worth doing (which I think it might be).
This commit is contained in:
1 parent
ec71d8ad68
commit
53fb889475
4 files changed
+65
-19
No files matched your search
@@ -141,6 +141,8 @@ ${PROG}: ${PROG}.c ${PROG}.alt2.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