src/Tools/8bit/c-sources/a2isa/Makefile
author oheimb
Wed, 05 Nov 1997 18:31:14 +0100
changeset 4175 06774cd43054
parent 4168 d158fdc5a075
permissions -rw-r--r--
*** empty log message ***
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1826
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
     1
###############################################
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
     2
# Title:      Tools/8bit/c-sources/a2isa/Makefile
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
     3
# ID:         $Id$
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
     4
# Author:     David von Oheimb
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
     5
# Copyright   1996 TU Muenchen
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
     6
#
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
     7
# Makefile for Isabelle ASCII to 8bit converter
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
     8
################################################
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
     9
4168
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    10
AOBJECTS  = main.o  lex.o
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    11
AXOBJECTS = main.o xlex.o
1826
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
    12
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
    13
CC = gcc
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
    14
4168
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    15
.SUFFIXES: $(SUFFIXES) .x
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    16
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    17
.x.o:
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    18
	flex $<; $(CC) -c -o $@ lex.yy.c
1826
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
    19
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
    20
# ----------------------------------------------------
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
    21
4168
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    22
all: a2isa ax2isa
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    23
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    24
a2isa:  $(AOBJECTS)
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    25
	$(CC) -o a2isa $(AOBJECTS); strip a2isa
1826
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
    26
4168
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    27
ax2isa: $(AXOBJECTS)
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    28
	$(CC) -o ax2isa $(AXOBJECTS); strip ax2isa
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    29
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    30
#lex.o: lex.x
d158fdc5a075 added ax2isa
oheimb
parents: 1826
diff changeset
    31
#	flex lex.x; $(CC) -c -o lex.o lex.yy.c
1826
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
    32
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
    33
# ----------------------------------------------------
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
    34
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
    35
clean:
2a2c0dbeb4ac Initial revision
oheimb
parents:
diff changeset
    36
	@rm -f *.o lex.yy.c