head 1.4; access; symbols PETIDOMO_4_0b6:1.4 PETIDOMO_4_0b5:1.4 PETIDOMO_4_0b4:1.4 PETIDOMO_4_0b3:1.4 BEFORETHL:1.4 petidomo-2-2:1.1.1.1 petidomo:1.1.1; locks; strict; comment @# @; 1.4 date 2000.12.14.15.14.36; author simons; state Exp; branches; next 1.3; 1.3 date 2000.12.14.15.07.35; author simons; state Exp; branches; next 1.2; 1.2 date 2000.12.13.15.45.25; author simons; state dead; branches; next 1.1; 1.1 date 2000.12.13.13.19.07; author simons; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.12.13.13.19.07; author simons; state Exp; branches; next ; desc @@ 1.4 log @Removed unused suffix .a from the .SUFFIXES target. @ text @# # Build the libtext library. # # $Header: /d1/e/petidomo/cvs/petidomo/source/libtext/Makefile,v 1.3 2000/12/14 15:07:35 simons Exp $ # CC = gcc AR = ar RANLIB = ranlib CFLAGS = -Wall -pedantic -O3 CPPFLAGS = LDFLAGS = OBJECTS = easy_pattern_match.o find_next_line.o find_string.o \ easy_sprintf.o transform_text.o wordwrap.o .SUFFIXES: .SUFFIXES: .c .o .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -c $< libtext.a: $(OBJECTS) $(AR) cr libtext.a $(OBJECTS) $(RANLIB) libtext.a realclean distclean clean:: rm -f libtext.a $(OBJECTS) # Dependencies easy_pattern_match.o: text.h easy_sprintf.o: text.h find_next_line.o: text.h find_string.o: text.h transform_text.o: text.h wordwrap.o: text.h @ 1.3 log @ - Removed smake build and autoconf from the libraries. - Removed unused files. @ text @d4 1 a4 1 # $Header: /d1/e/petidomo/cvs/petidomo/source/libtext/Makefile,v 1.3 2000/12/14 14:17:18 simons Exp $ d19 1 a19 1 .SUFFIXES: .c .o .a @ 1.2 log @Imported latest version. @ text @d2 1 a2 1 # Text routine library d4 1 a4 1 # $Header: /d1/e/petidomo/cvs/petidomo/source/libtext/Makefile,v 1.1 2000/12/13 13:19:07 simons Exp $ d7 3 a9 7 # Make Rules: # =========== # .SUFFIXES: .3 .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -c $< d11 3 d15 2 a16 5 # Compiler flags: # =============== # CFLAGS = -Wall CPPFLAGS= d18 2 a19 5 # Linker flags: # ============= # LDFLAGS = LIBS = d21 2 d24 3 a26 9 # # Labels: # ======= # SRCS = easy_pattern_match.c find_next_line.c find_string.c easy_sprintf.c \ transform_text.c wordwrap.c OBJS = $(SRCS:.c=.o) MANFILES= text_easy_pattern_match.3 text_find_string.3 text_transform_text.3 \ text_find_next_line.3 text_easy_sprintf.3 text_wordwrap.3 d28 2 d31 1 a31 12 # # Targets # .PHONY: all man clean depend all: libtext.a man: $(MANFILES) clean: rm -f libtext.a test $(OBJS) rm -f *.o *.3 *.core *.bak d33 6 a38 35 depend: makedepend -Y /usr/include $(SRCS) @@rm -f Makefile.bak # # Actions: #========= # libtext.a: $(OBJS) $(AR) cr $@@ $(OBJS) $(RANLIB) $@@ text_easy_pattern_match.3: easy_pattern_match.c text.h c2man -itext.h easy_pattern_match.c text_find_string.3: find_string.c text.h c2man -itext.h find_string.c text_transform_text.3: transform_text.c text.h c2man -itext.h transform_text.c text_find_next_line.3: find_next_line.c text.h c2man -itext.h find_next_line.c text_easy_sprintf.3: easy_sprintf.c text.h c2man -itext.h easy_sprintf.c text_wordwrap.3: wordwrap.c text.h c2man -itext.h wordwrap.c # # Dependencies # @ 1.1 log @Initial revision @ text @d4 1 a4 1 # $Header: /usr/local/libdata/cvs/c-lib/libtext/Makefile,v 1.9 1998/08/16 21:36:30 simons Exp $ @ 1.1.1.1 log @Imported Petidomo 2.2 as found on www.petidomo.com. @ text @@