version 1.1, 2000/04/12 20:06:16
|
version 1.3, 2000/05/03 15:35:11
|
Line 6 VER = 5.1
|
Line 6 VER = 5.1
|
BUGFIX = 0 |
BUGFIX = 0 |
#CC = i486-linuxlibc1-gcc -DCAPA_VER=\"$(VER).$(BUGFIX)\" -DCOMPILE_DATE=\"`date +'%b-%d-%Y'`\" |
#CC = i486-linuxlibc1-gcc -DCAPA_VER=\"$(VER).$(BUGFIX)\" -DCOMPILE_DATE=\"`date +'%b-%d-%Y'`\" |
CC = cc -DCAPA_VER=\"$(VER).$(BUGFIX)\" -DCOMPILE_DATE=\"`date +'%b-%d-%Y-%H:%M'`\" |
CC = cc -DCAPA_VER=\"$(VER).$(BUGFIX)\" -DCOMPILE_DATE=\"`date +'%b-%d-%Y-%H:%M'`\" |
DEF = -DUSE_DYNAMIC_SYMBOLS |
DEF = -DUSE_DYNAMIC_SYMBOLS #-DLEX_DBUG |
CFLAG = -g -Wall |
CFLAG = -g -Wall |
LEX = flex -Cfa -s |
LEX = flex -Cfa -s |
YACC = bison |
YACC = bison |
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 |
|
|