mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2024-12-01 11:53:57 +00:00
98a36557e4
MD5 (macross.tar.gz) = 4ecb4a6e015b11fef043fe78d1eedb61
78 lines
1.9 KiB
Makefile
78 lines
1.9 KiB
Makefile
.SUFFIXES: .o .c .h .run
|
|
|
|
OBJECTS = builtins.o debugPrint.o errorStuff.o expr.o initialize.o\
|
|
instantiate.o link.o main.o map.o poke.o read.o relocate.o slinkyTables.o\
|
|
write.o
|
|
|
|
SOURCES = builtins.c debugPrint.c errorStuff.c expr.c initialize.c\
|
|
instantiate.c link.c main.c map.c poke.c read.c relocate.c slinkyTables.c\
|
|
write.c slinkyExpressions.h slinkyGlobals.h slinkyTypes.h y.tab.h
|
|
|
|
.c.o:
|
|
cc -c -O $*.c
|
|
|
|
.c.run:
|
|
cc -o $* $*.c
|
|
|
|
slinky: $(OBJECTS)
|
|
cc -O -o slinky $(OBJECTS)
|
|
|
|
update: .mark
|
|
kessel "(cd /u0/chip/macross/slinky; make slinky >&errorfyle)" &
|
|
|
|
move: .mark
|
|
|
|
.mark: $(SOURCES)
|
|
cp $? /net/kessel/u0/chip/macross/slinky
|
|
cp $? /net/kessel/u0/chip/macross/slinky/prof
|
|
cp $? ..
|
|
date >.mark
|
|
date >/net/kessel/u0/chip/macross/slinky/.mark
|
|
date >/net/kessel/u0/chip/macross/slinky/prof/.mark
|
|
date >../.mark
|
|
|
|
install: slinky
|
|
cp slinky slinky_tmp
|
|
strip slinky_tmp
|
|
cp /u1/gg/bin/slinky /u1/gg/bin/slinky.old
|
|
cp slinky_tmp /u1/gg/bin/slinky
|
|
/bin/rm slinky_tmp
|
|
cp /u1/gg/bin/slinky /net/mycroft/u1/gg/bin
|
|
cp /u1/gg/bin/slinky /net/shem/u1/gg/bin
|
|
cp /u1/gg/bin/slinky /net/weyr/u1/gg/bin
|
|
|
|
builtins.o: builtins.c slinkyGlobals.h slinkyTypes.h slinkyExpressions.h
|
|
|
|
debugPrint.o: debugPrint.c slinkyGlobals.h slinkyTypes.h
|
|
|
|
errorStuff.o: errorStuff.c slinkyGlobals.h slinkyTypes.h
|
|
|
|
expr.o: expr.c slinkyExpressions.h slinkyGlobals.h slinkyTypes.h y.tab.h
|
|
|
|
initialize.o: initialize.c slinkyGlobals.h slinkyTypes.h
|
|
|
|
instantiate.o: instantiate.c slinkyGlobals.h slinkyTypes.h slinkyExpressions.h
|
|
|
|
link.o: link.c slinkyGlobals.h slinkyTypes.h
|
|
|
|
main.o: main.c slinkyGlobals.h slinkyTypes.h
|
|
|
|
map.o: map.c slinkyGlobals.h slinkyTypes.h
|
|
|
|
poke.o: poke.c slinkyGlobals.h slinkyTypes.h
|
|
|
|
read.o: read.c slinkyGlobals.h slinkyTypes.h
|
|
|
|
relocate.o: relocate.c slinkyGlobals.h slinkyTypes.h
|
|
|
|
slinkyTables.o: slinkyTables.c slinkyTypes.h
|
|
|
|
write.o: write.c slinkyGlobals.h slinkyTypes.h
|
|
|
|
cleanup:
|
|
/bin/rm -f *.o slinky
|
|
|
|
love:
|
|
@echo "Not war?"
|
|
|