Mercurial > hg > Members > kono > os9 > sbc09
view os9/mc09/makefile @ 102:09148bb27659
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 27 Dec 2018 16:03:36 +0900 |
parents | 15569aa4098e |
children | 844305752064 |
line wrap: on
line source
MCLIBS=alloc.txt c.txt fileio.txt fileio2.txt mclib.c scanf.txt\ stdio.txt stdio2.txt string.txt MCUTILS=uf.c DESTDIR=/usr/local/bin CFLAGS = -m32 -O0 -g -Wno-return-type -Wno-implicit-int -Wno-implicit-function-declaration -Wno-parentheses AS09 = ../../src/a09 all: mc2 mc: mc.c cc $(CFLAGS) mc.c -o mc c.out: mc mc2.c mclib.c ./mc mc2.c mc2: c.out $(AS09) crtos9.asm -l c.lst -o mc2 # mc2.o: c.out # $(AS09) c.txt -l c.lst -o mc2.o lint: mc.c lint mc.c >lint shar: diff_to_mc2 shar COPYRIGHT README MANIFEST makefile $(MCLIBS) $(MCUTILS) diff_to_mc2 >mc.shar.0 shar mc.c >mc.shar.1 diff_to_mc2: mc.c mc2.c -diff -c mc.c mc2.c >diff_to_mc2 mc2.c: patch <diff_to_mc2 -o mc2.c clean: rm -f mc c.out mc2.o lint install: mc cp mc $(DESTDIR)/mc