modified for ACK
This commit is contained in:
parent
e7683658b7
commit
08bd32f88d
|
@ -1,6 +1,10 @@
|
|||
EM=/proj/em/Work
|
||||
EM=../../../..
|
||||
CEGLIB = $(EM)/lib/ceg
|
||||
PARLIB = $(CEGLIB)/EM_parser
|
||||
LIB = $(PARLIB)/obj_EM_pars
|
||||
|
||||
OFILES = dist.o
|
||||
HFILES = arg_type.h em_parser.h
|
||||
|
||||
IFILES = -I$(EM)/h -I$(EM)/modules/h
|
||||
CC = cc
|
||||
|
@ -8,5 +12,22 @@ CC = cc
|
|||
.c.o :
|
||||
$(CC) $(IFILES) -c $<
|
||||
|
||||
em_parser : $(OFILES)
|
||||
touch em_parser
|
||||
all : $(OFILES)
|
||||
|
||||
install: all
|
||||
-mkdir $(CEGLIB)
|
||||
-mkdir $(PARLIB)
|
||||
-mkdir $(LIB)
|
||||
cp $(OFILES) $(HFILES) $(LIB)
|
||||
|
||||
cmp: all
|
||||
for i in $(OFILES) $(HFILES) ; do cmp $$i $(LIB)/$$i ; done
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
|
||||
pr:
|
||||
@pr Makefile arg_type.h dist.c em_parser.h
|
||||
|
||||
opr:
|
||||
make pr | opr
|
||||
|
|
Loading…
Reference in a new issue