home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
lang
/
listmana.sha
/
makefile
< prev
next >
Wrap
Makefile
|
1986-07-10
|
629b
|
39 lines
.c.o:
cc $(CFLAGS) -o $@ $*.c
echo cp -f $*.c $@ 1:list/ >>backup
all: test
echo \\\'make all\\\' done
clean:
rm test.code test.o
clobber:
rm test
test: backup m.t test.code tr.t
rgen test.r
echo echo test >>backup
echo cp -f test 1:list/ >>backup
backup
rm backup
backup:
echo echo backing up the following files >backup
m.t: makefile
echo written after makefile changed >m.t
echo cp -f makefile m.t 1:list/ >>backup
test.code: test.o
ln -mt -o test.code $${CLIB}sacroot.o test.o -lc -b cc48
test.o: test.c
tr.t: test.r
echo written after test.r changed >tr.t
echo cp -f test.r tr.t 1:list/ >>backup