head 1.6; access; symbols PETIDOMO_4_0b6:1.6 PETIDOMO_4_0b5:1.6 PETIDOMO_4_0b4:1.6 PETIDOMO_4_0b3:1.6 BEFORETHL:1.6 petidomo-2-2:1.1.1.1 petidomo:1.1.1; locks; strict; comment @# @; 1.6 date 2000.12.15.15.58.39; author simons; state Exp; branches; next 1.5; 1.5 date 2000.12.14.15.14.36; author simons; state Exp; branches; next 1.4; 1.4 date 2000.12.14.15.07.35; author simons; state Exp; branches; next 1.3; 1.3 date 2000.12.14.14.17.18; author simons; state Exp; branches; next 1.2; 1.2 date 2000.12.13.15.37.35; author simons; state dead; branches; next 1.1; 1.1 date 2000.12.13.13.19.08; author simons; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.12.13.13.19.08; author simons; state Exp; branches; next ; desc @@ 1.6 log @The clean target will now erase the argv.info file. @ text @# # Build the libargv library. # # $Header: /d1/e/petidomo/cvs/petidomo/source/libargv/Makefile,v 1.5 2000/12/14 15:14:36 simons Exp $ # CC = gcc AR = ar RANLIB = ranlib CFLAGS = -Wall -pedantic -O3 CPPFLAGS = LDFLAGS = .SUFFIXES: .SUFFIXES: .c .o .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -c $< libargv.a: argv.o $(AR) cr libargv.a argv.o $(RANLIB) libargv.a test: test.o libargv.a $(CC) $(LDFLAGS) test.o libargv.a -o test realclean distclean clean:: rm -f libargv.a argv.o test.o test argv.info # Dependencies argv.o: argv.h argv_loc.h test.o: argv.h @ 1.5 log @Removed unused suffix .a from the .SUFFIXES target. @ text @d4 1 a4 1 # $Header: /d1/e/petidomo/cvs/petidomo/source/libargv/Makefile,v 1.4 2000/12/14 15:07:35 simons Exp $ d29 1 a29 1 rm -f libargv.a argv.o test.o test @ 1.4 log @ - Removed smake build and autoconf from the libraries. - Removed unused files. @ text @d4 1 a4 1 # $Header: /d1/e/petidomo/cvs/petidomo/source/libargv/Makefile,v 1.3 2000/12/14 14:17:18 simons Exp $ d16 1 a16 1 .SUFFIXES: .c .o .a @ 1.3 log @Added a real makefile. @ text @d4 1 a4 1 # $Header: /d1/e/petidomo/cvs/petidomo/source/libargv/SMakefile,v 1.1 2000/12/13 15:38:37 simons Exp $ d29 6 a34 1 rm -f argv.o libargv.o test.o test @ 1.2 log @Imported libargv version 2.4.0. @ text @d2 1 a2 1 # libargv Makefile d4 1 a4 1 # $Header: /d1/e/petidomo/cvs/petidomo/source/libargv/Makefile,v 1.1 2000/12/13 13:19:08 simons Exp $ d7 3 a9 5 # Make Rules: # =========== # .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -c $< d11 3 d15 2 a16 5 # Compiler Flags: # =============== # CFLAGS = -Wall -ansi -pedantic CPPFLAGS= d18 2 d21 3 a23 15 # # Labels: # ======= # SRCS = argv.c OBJS = $(SRCS:.c=.o) MANFILES= $(SRCS:.c=.3) # # Targets # .PHONY: all clean realclean distclean man depend all: libargv.a d26 1 a26 28 $(CC) test.o libargv.a -o test clean: rm -f test libargv.a *.o *.3 *.core realclean: clean distclean: realclean man: depend: makedepend -Y /usr/include $(SRCS) @@rm -f Makefile.bak # # Actions # libargv.a: $(OBJS) rm -f $@@ $(AR) cr $@@ $(OBJS) $(RANLIB) $@@ # # Dependencies # d28 2 a29 1 argv.o: _argv.h argv.h @ 1.1 log @Initial revision @ text @d4 1 a4 1 # $Header: /usr/local/libdata/cvs/c-lib/libargv/Makefile,v 1.4 1998/08/16 21:36:26 simons Exp $ @ 1.1.1.1 log @Imported Petidomo 2.2 as found on www.petidomo.com. @ text @@