1984-07-19 15:03:30 +00:00
|
|
|
# $Header$
|
|
|
|
|
1984-07-19 15:01:43 +00:00
|
|
|
MACH=MACHINE
|
1984-10-08 14:09:28 +00:00
|
|
|
MACHFL=-c.$(SUF) -O -L
|
1984-07-19 15:01:43 +00:00
|
|
|
SUB =
|
|
|
|
PREF=pc
|
|
|
|
ASAR=arch
|
|
|
|
SRC=lang/pc/libpc
|
|
|
|
HOME = ../../..
|
|
|
|
HEADSRC=$(HOME)/$(SRC)/head_$(PREF).e
|
|
|
|
|
|
|
|
all: head tail
|
|
|
|
|
1988-07-12 11:10:31 +00:00
|
|
|
head: head_$(PREF)
|
1984-07-19 15:01:43 +00:00
|
|
|
|
1988-07-12 11:10:31 +00:00
|
|
|
tail: tail_$(PREF)$(SUB)
|
1984-07-19 15:01:43 +00:00
|
|
|
|
|
|
|
headcp: head
|
1984-10-08 14:09:28 +00:00
|
|
|
../../install head_$(PREF)
|
1984-07-19 15:01:43 +00:00
|
|
|
rm -f head_$(PREF)
|
|
|
|
|
|
|
|
tailcp: tail
|
1984-10-08 14:09:28 +00:00
|
|
|
../../install tail_$(PREF)$(SUB)
|
1984-07-19 15:01:43 +00:00
|
|
|
rm -f tail_$(PREF)$(SUB)
|
|
|
|
|
|
|
|
cp: headcp tailcp
|
|
|
|
|
|
|
|
head_$(PREF): $(HEADSRC)
|
|
|
|
cp $(HEADSRC) head_$(PREF).e
|
|
|
|
$(MACH) $(MACHFL) head_$(PREF).e
|
|
|
|
mv head_$(PREF).$(SUF) head_$(PREF)
|
|
|
|
-rm -f head_$(PREF).[ekm$(SUF)]
|
|
|
|
|
1984-10-08 14:09:28 +00:00
|
|
|
tail_$(PREF)$(SUB):
|
1984-07-19 15:01:43 +00:00
|
|
|
@echo translation test
|
|
|
|
@$(MACH) $(MACHFL) $(HOME)/mach/proto/libg/barrier.c
|
|
|
|
@-rm barrier.[oeskm]
|
|
|
|
@echo OK
|
|
|
|
-rm -f tail_$(PREF)$(SUB)
|
1988-10-04 10:04:37 +00:00
|
|
|
MACH="$(MACH)" MACHFL="$(MACHFL) -LIB" ASAR=$(ASAR) SRC=$(SRC) \
|
1984-10-08 14:09:28 +00:00
|
|
|
march $(HOME)/$(SRC) tail_$(PREF)$(SUB)
|