--- capa/capa51/pProj/Makefile 2000/08/07 20:47:29 1.13 +++ capa/capa51/pProj/Makefile 2005/06/30 15:33:09 1.22 @@ -26,7 +26,7 @@ VER = 5.1 -BUGFIX = 2 +BUGFIX = 6 #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'`\" DEF = -DUSE_DYNAMIC_SYMBOLS $(TTH_DEF) #-DLEX_DBUG @@ -49,6 +49,7 @@ TTH_DEF= #TTH_DEF=-DTTH ARCH = $(shell uname) +LONCAPA = Linux = /usr/lib/libncurses.a OSF1 = -lcurses #-ltermcap SunOS = /home/capa/source/lib/libncurses.a @@ -58,10 +59,11 @@ HP-UX = -lcurses -ltermcap IRIX = -lcurses -ltermcap FreeBSD = -lncurses -ltermcap -P_FLAGS = -ll -lm +P_FLAGS = -lfl -lm S_FLAGS = $($(ARCH)) $(P_FLAGS) +LONCAPAFLAG = -DLONCAPA -fPIC -Dbool=char -DHAS_BOOL -D_REENTRANT OSF1FLAG = -O3 -Olimit 2048 AIXFLAG=-O3 -DAIX $(DEF) NEXTSTEPFLAG=-arch i386 -arch m68k $(DEF) @@ -131,7 +133,7 @@ $(ARCH)/qzparse: qzparse.c $(ARCH)/libca qzparse: $(ARCH)/qzparse true -$(ARCH)/libcapa$(VER).a: $(ARCH_OBJ) $(PAR_SRC) +$(ARCH)/libcapa$(VER).a: $(ARCH) $(ARCH_OBJ) $(PAR_SRC) $(AR) r $(ARCH)/libcapa$(VER).a $(ARCH_OBJ) binclean: