home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-08-28 | 1.6 KB | 58 lines |
- #
- # DMakefile for the AmigaBASIC -> ASCII converter
- #
- # (c)Copyright 1994 by Tobias Ferber.
- #
- # This file is part of AmigaBASIC->ASCII.
- #
- # AmigaBASIC->ASCII is free software; you can redistribute it and/or
- # modify it under the terms of the GNU General Public License as
- # published by the Free Software Foundation; either version 1 of the
- # License, or (at your option) any later version.
- #
- # AmigaBASIC->ASCII is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with AmigaBASIC->ASCII; see the file COPYING. If not, write to
- # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- #
-
- rm= delete quiet
- CC= dcc
- CFLAGS= -s -DDEBUG
- #CFLAGS= -s -DDEBUG -prof1
-
- all: ab2ascii
-
- ab2ascii: main.o args.o flist.o symbols.o codelines.o expand.o tokens.o
- $(CC) $(CFLAGS) -lm -o%(left) %(right)
-
- main.o: main.c abasic.h abasic2ascii.c
- $(CC) $(CFLAGS) -c -o%(left) %(left:"*.o":"*.c")
-
- args.o: args.c
- $(CC) $(CFLAGS) -c -o%(left) %(right)
-
- flist.o: flist.c
- $(CC) $(CFLAGS) -c -o%(left) %(right)
-
- symbols.o: symbols.c abasic.h
- $(CC) $(CFLAGS) -c -o%(left) %(left:"*.o":"*.c")
-
- codelines.o: codelines.c abasic.h
- $(CC) $(CFLAGS) -c -o%(left) %(left:"*.o":"*.c")
-
- expand.o: expand.c abasic.h
- $(CC) $(CFLAGS) -c -o%(left) %(left:"*.o":"*.c")
-
- tokens.o: tokens.c
- $(CC) $(CFLAGS) -c -o%(left) %(right)
-
- # --- clean
-
- clean:
- $(rm) ab2asci main.o args.o flist.o symbols.o codelines.o expand.o tokens.o
-