Skip to content

Commit

Permalink
Imported BasText 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nafmo committed Jan 18, 1998
0 parents commit b1a0287
Show file tree
Hide file tree
Showing 21 changed files with 3,410 additions and 0 deletions.
339 changes: 339 additions & 0 deletions COPYING

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions Makefile
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
49 changes: 49 additions & 0 deletions Makefile.os2
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 *~


Loading

0 comments on commit b1a0287

Please sign in to comment.