# Makefile for libmb.info -*- Indented-Text -*- # # Copyright (C) 1996, jack # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # $Id: Makefile,v 1.2 1996/10/27 08:48:16 jack Exp $ CC = gcc DEFS = INCLUDES= -I. -I../mbctype -I../mbstring -I../mbmisc CFLAGS = -Wall -O2 AS = as ASFLAGS = LD = ld LDFLAGS = LDLIBS = AR = ar ARFLAGS = rv #---------------------------------------------------------------------# INFO_SRCS= libmb.texi mbansi.texi mbclass.texi mbcnvrt.texi \ mbstring.texi mbtype.texi ALLTARGET= libmb.info #---------------------------------------------------------------------# .SUFFIXES: .c .o .c.o: $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< .PHONY: all all: $(ALLTARGET) libmb.info: $(INFO_SRCS) mule -batch -l texinfmt -f batch-texinfo-format $(@:.info=.texi) .PHONY: clean clean: rm -f *.o *.bak *~ .*~ \#* $(ALLTARGET) .PHONY: depend depend: echo $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(SRCS) > t-file /bin/sh mkdep -MM @t-file rm t-file #---------------------------------------------------------------------#