home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari FTP
/
ATARI_FTP_0693.zip
/
ATARI_FTP_0693
/
Tex
/
c++2l.zoo
/
Makefile
< prev
next >
Wrap
Makefile
|
1990-04-30
|
575b
|
31 lines
FLAVOR =
CC = gcc
CFLAGS = -g $(FLAVOR)
LEX = flex
.PHONY: all workaround C_PLUSPLUS ANSI_C HAS_NAME
all: c++2latex
C_PLUSPLUS: make c++2latex FLAVOR=-DC_PLUSPLUS
ANSI_C:
make c2latex FLAVOR=-DANSI_C
USE_NAME:
make c++2latex FLAVOR=-DUSE_NAME
workaround: c++2latex.l
mv -f c++2latex.l c++2latex.full
sed > c++2latex.l -e '/^###/w c++2latex.copyright' \
-e '/^###/d' c++2latex.full
c2latex.c: c++2latex.c
mv c++2latex.c c2latex.c
c++2latex: c++2latex.o getopt1.o getopt.o version.o
c2latex: c2latex.o getopt1.o getopt.o version.o