forked from ioccc-src/temp-test-ioccc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ioccc-src#2543 from xexyl/ant
- Loading branch information
Showing
39 changed files
with
3,174 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,8 @@ | |
*.dSYM | ||
ant | ||
ant.alt | ||
ant.alt2 | ||
ant.alt2-c89 | ||
ant.orig | ||
hill | ||
indent | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# | ||
# Anthony's Editor | ||
# | ||
# IOCCC 1991 | ||
# | ||
# Winner Best Utility | ||
# | ||
|
||
CFLAGS = -Os -Wno-deprecated-non-prototype | ||
|
||
all: build | ||
|
||
build: ant ant-c89 | ||
|
||
clean: | ||
-rm -f ant ant-c89 | ||
|
||
# NOTE: some systems may need: | ||
# | ||
# old SYS V: | ||
# cc ${CFLAGS} -DMODE=0600 -DBUF=32767 -o ant ant.c -lcurses | ||
# ATARI ST: | ||
# cc -DMODE=0 -DBUF=32767 -o ant.ttp ant.c curses.a | ||
# PC class: | ||
# wcl -mc -DMODE=0 -DBUF=32767 ant.c curses.lib | ||
# | ||
# This older version may generate lots of warnings with newer compilers. | ||
# | ||
ant: ant.c | ||
${CC} ${CFLAGS} -DMODE=0600 -DBUF=32767 ant.c -o $@ -lcurses -ltermcap | ||
|
||
# Mostly cosmetic changes to read like ANSI C 89. | ||
ant-c89: ant-c89.c | ||
${CC} ${CFLAGS} -DMODE=0600 ant-c89.c -o $@ -lcurses -ltermcap |
Oops, something went wrong.