source: vital-to8-sdk/mc09/src/makefile @ 2

Last change on this file since 2 was 1, checked in by svn, 6 years ago

Import initial

File size: 554 bytes
RevLine 
[1]1MCLIBS=alloc.txt c.txt fileio.txt fileio2.txt mclib.c scanf.txt\
2        stdio.txt stdio2.txt string.txt
3
4MCUTILS=uf.c
5
6DESTDIR=..
7
8all:    mc2.o
9
10mc: mc.c
11        cc mc.c -o mc
12
13c.out:  mc mc2.c mclib.c
14        mc mc2.c
15
16mc2.o:  c.out
17        as09 c.txt -o mc2.o -v -O
18
19lint: mc.c
20        lint mc.c >lint
21
22shar: diff_to_mc2
23        shar COPYRIGHT README MANIFEST makefile $(MCLIBS) $(MCUTILS) diff_to_mc2 >mc.shar.0
24        shar mc.c >mc.shar.1
25
26diff_to_mc2: mc.c mc2.c
27        -diff -c mc.c mc2.c >diff_to_mc2
28
29mc2.c:
30        patch <diff_to_mc2 -o mc2.c
31
32clean:
33        rm -f mc c.out mc2.o lint
34
35install: mc
36        cp mc $(DESTDIR)
Note: See TracBrowser for help on using the repository browser.