made back.a dependent on some C files in this directory
This commit is contained in:
parent
1e9d815c92
commit
f3584b3d52
|
@ -1,6 +1,7 @@
|
||||||
EMHOME=../../..
|
EMHOME=../../..
|
||||||
BACK=$(EMHOME)/lib/ceg/ce_back
|
BACK=$(EMHOME)/lib/ceg/ce_back
|
||||||
CEG = $(EMHOME)/lib/ceg/util
|
CEG = $(EMHOME)/lib/ceg/util
|
||||||
|
AR = ar
|
||||||
|
|
||||||
all: back.a
|
all: back.a
|
||||||
make -f $(CEG)/make_own
|
make -f $(CEG)/make_own
|
||||||
|
@ -28,10 +29,10 @@ dclean:
|
||||||
make -f $(CEG)/make_own dclean
|
make -f $(CEG)/make_own dclean
|
||||||
rm -rf back
|
rm -rf back
|
||||||
|
|
||||||
back.a :
|
back.a: do_close.c do_open.c end_back.c output.c relocation.c
|
||||||
-mkdir back
|
-mkdir back
|
||||||
cp $(BACK)/obj_back/*h back
|
cp $(BACK)/obj_back/*h back
|
||||||
cp Make.back back/Makefile
|
cp Make.back back/Makefile
|
||||||
cd back; make ; cd ..
|
cd back; make ; cd ..
|
||||||
ar r back.a back/*o;
|
$(AR) r back.a back/*o;
|
||||||
-sh -c 'ranlib back.a'
|
-sh -c 'ranlib back.a'
|
||||||
|
|
Loading…
Reference in a new issue