Fix 1994/horton/Makefile and README.md
The alt code was being compiled with 'all' rather than 'alt'. The README.md file also has had format updates including referring to the alt code as well as the gtface.c. This should complete 1994/horton.
This commit is contained in:
1 parent
4ba4dde279
commit
0df21af4c4
3 files changed
+31
-6
No files matched your search
@@ -114,10 +114,10 @@ PROG= ${ENTRY}
|
||||
#
|
||||
OBJ= ${PROG}.o
|
||||
DATA= gtface.data
|
||||
TARGET= ${PROG} gtface ${PROG}.alt
|
||||
TARGET= ${PROG} gtface
|
||||
#
|
||||
ALT_OBJ= ${PROG}.alt.o
|
||||
ALT_TARGET= ${PROG}.alt
|
||||
ALT_OBJ= ${PROG}.alt.o gtface.o
|
||||
ALT_TARGET= ${PROG}.alt gtface
|
||||
|
||||
|
||||
#################
|
||||
|
||||
+22
-2
@@ -14,22 +14,42 @@ make all
|
||||
`A`, `B`, `C` and `D` are numeric arguments.
|
||||
|
||||
|
||||
|
||||
### Try:
|
||||
|
||||
|
||||
```sh
|
||||
./horton 3 2 1 0
|
||||
```
|
||||
|
||||
Also try:
|
||||
|
||||
```sh
|
||||
./gtface < gtface.data
|
||||
```
|
||||
|
||||
## Alternate code:
|
||||
|
||||
This confuses cb greatly. See [horton.alt.c](horton.alt.c) for an unobfuscated/enhanced
|
||||
version. To run this alternate version:
|
||||
version.
|
||||
|
||||
|
||||
### Alternate build:
|
||||
|
||||
|
||||
```sh
|
||||
make alt
|
||||
```
|
||||
|
||||
|
||||
### Alternate use:
|
||||
|
||||
|
||||
```sh
|
||||
./horton.alt A B C D
|
||||
```
|
||||
|
||||
Use `horton.alt` as you would `horton` above.
|
||||
Where A, B, C and D are like with `horton`.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Reference in new issue
Block a user