version 1.1, 2000/04/12 20:06:16
|
version 1.2, 2000/04/12 20:08:39
|
Line 55 ARCH_OBJ = $(ARCH)/capaCommon.o $(ARCH
|
Line 55 ARCH_OBJ = $(ARCH)/capaCommon.o $(ARCH
|
# libcapa:=MACRO=string |
# libcapa:=MACRO=string |
|
|
|
|
answers: $(ARCH)/answers |
convert: $(ARCH)/convert |
echo done |
echo done |
|
|
all: $(ARCH)libcapa($VER).a $(ARCH)/answers |
all: $(ARCH)libcapa($VER).a $(ARCH)/convert |
|
|
dmalloc: |
dmalloc: |
$(MAKE) DEF="-DDMALLOC -DDMALLOC_FUNC_CHECK $(DEF)" P_FLAGS="-ldmalloc $(P_FLAGS)" libcapa answers |
$(MAKE) DEF="-DDMALLOC -DDMALLOC_FUNC_CHECK $(DEF)" P_FLAGS="-ldmalloc $(P_FLAGS)" libcapa convert |
|
|
$(ARCH)libcapa($VER).a: $(ARCH_OBJ) |
$(ARCH)libcapa($VER).a: $(ARCH_OBJ) |
$(AR) r $(ARCH)/libcapa$(VER).a $(ARCH_OBJ) |
$(AR) r $(ARCH)/libcapa$(VER).a $(ARCH_OBJ) |
Line 72 binclean:
|
Line 72 binclean:
|
$(ARCH)/%.o: %.c capaToken.h |
$(ARCH)/%.o: %.c capaToken.h |
$(CC) $(CFLAG) -c $< -o $@ $(DEF) |
$(CC) $(CFLAG) -c $< -o $@ $(DEF) |
|
|
$(ARCH)/answers: $(ARCH)libcapa($VER).a $(ARCH)/answers.o |
$(ARCH)/convert: $(ARCH)libcapa($VER).a $(ARCH)/convert.o |
$(CC) $(CFLAG) $(DEF) -o $@ $(ARCH)/answers.o -L$(ARCH) -lcapa$(VER) $(P_FLAGS) |
$(CC) $(CFLAG) $(DEF) -o $@ $(ARCH)/convert.o -L$(ARCH) -lcapa$(VER) $(P_FLAGS) |
|
|
capaToken.h: capaParserFun.c |
capaToken.h: capaParserFun.c |
|
|