-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b1a0287
Showing
21 changed files
with
3,410 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,46 @@ | ||
# Makefile for bastext ------------------------------------------------------- | ||
OBJS=main.o inmode.o outmode.o tokens.o tokenize.o dtokeniz.o select.o t64.o | ||
|
||
# All targets ---------------------------------------------------------------- | ||
all: bastext bastext.doc | ||
|
||
# Main executable ------------------------------------------------------------ | ||
bastext: $(OBJS) | ||
gcc -o bastext $(OBJS) | ||
|
||
tokens.o: tokens.c tokens.h | ||
gcc -c tokens.c | ||
|
||
tokenize.o: tokenize.c tokenize.h tokens.h | ||
gcc -c tokenize.c | ||
|
||
dtokeniz.o: dtokeniz.c tokenize.h tokens.h | ||
gcc -c dtokeniz.c | ||
|
||
main.o: main.c inmode.h outmode.h tokenize.h | ||
gcc -c main.c | ||
|
||
inmode.o: inmode.c tokenize.h version.h inmode.h select.h t64.h | ||
gcc -c inmode.c | ||
|
||
outmode.o: outmode.c tokenize.h version.h outmode.h select.h t64.h | ||
gcc -c outmode.c | ||
|
||
select.o: select.c select.h tokenize.h | ||
gcc -c select.c | ||
|
||
t64.o: t64.c t64.h | ||
gcc -c t64.c | ||
|
||
# Plaintext documentation ---------------------------------------------------- | ||
bastext.doc: bastext.1 tidy | ||
groff -Tlatin1 -mandoc bastext.1 > /tmp/bastext.doc | ||
tidy /tmp/bastext.doc ./bastext.doc | ||
rm /tmp/bastext.doc | ||
|
||
tidy: tidy.c | ||
gcc -o tidy tidy.c | ||
|
||
# Cleanup -------------------------------------------------------------------- | ||
clean: | ||
-rm core *.o *~ tidy |
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,49 @@ | ||
# Makefile for bastext ------------------------------------------------------- | ||
OBJS=main.o inmode.o outmode.o tokens.o tokenize.o dtokeniz.o select.o t64.o | ||
|
||
# All targets ---------------------------------------------------------------- | ||
all: bastext.exe | ||
# bastext.doc | ||
|
||
# Main executable ------------------------------------------------------------ | ||
bastext.exe: $(OBJS) | ||
gcc -o bastext.exe $(OBJS) | ||
|
||
tokens.o: tokens.c tokens.h | ||
gcc -c tokens.c | ||
|
||
tokenize.o: tokenize.c tokenize.h tokens.h | ||
gcc -c tokenize.c | ||
|
||
dtokeniz.o: dtokeniz.c tokenize.h tokens.h | ||
gcc -c dtokeniz.c | ||
|
||
main.o: main.c inmode.h outmode.h tokenize.h | ||
gcc -c main.c | ||
|
||
inmode.o: inmode.c tokenize.h version.h inmode.h select.h t64.h | ||
gcc -c inmode.c | ||
|
||
outmode.o: outmode.c tokenize.h version.h outmode.h select.h t64.h | ||
gcc -c outmode.c | ||
|
||
select.o: select.c select.h tokenize.h | ||
gcc -c select.c | ||
|
||
t64.o: t64.c t64.h | ||
gcc -c t64.c | ||
|
||
# Plaintext documentation ---------------------------------------------------- | ||
#bastext.doc: bastext.1 tidy | ||
# groff -Tlatin1 -mandoc bastext.1 > /tmp/bastext.doc | ||
# tidy /tmp/bastext.doc ./bastext.doc | ||
# rm /tmp/bastext.doc | ||
# | ||
#tidy: tidy.c | ||
# gcc -o tidy tidy.c | ||
# | ||
# Cleanup -------------------------------------------------------------------- | ||
clean: | ||
-rm core *.o *~ | ||
|
||
Oops, something went wrong.