From 23cac105fdd8057993d0c42358fc245ad5618ee5 Mon Sep 17 00:00:00 2001 From: "Christopher R. Hertel" Date: Fri, 10 Oct 1997 16:12:27 +0000 Subject: I have to admit that I'm not very good at writing Makefiles. This one will simply create an object file from each of the .c files in the directory. These could be linked into a static library, but I'm not sure that this is worthwhile. If anyone wants to improved on what I've got here, please do! crh -)----- (This used to be commit 5e521438292472c816527d4ee7c6dff7e3c217ea) --- source3/ubiqx/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 source3/ubiqx/Makefile (limited to 'source3/ubiqx') diff --git a/source3/ubiqx/Makefile b/source3/ubiqx/Makefile new file mode 100644 index 0000000000..16fb454e77 --- /dev/null +++ b/source3/ubiqx/Makefile @@ -0,0 +1,32 @@ +########################################################################### +# Makefile for ubiqx libraries under Samba. +# Copyright Chris Hertel & the Samba Team 1997 +########################################################################### + +.SUFFIXES: +.SUFFIXES: .c .o .h + +all: ubi_AVLtree.o ubi_BinTree.o ubi_SplayTree.o ubi_dLinkList.o + +ubi_BinTree.o: ubi_BinTree.h + @echo Compiling $*.c + @$(CC) $(CFLAGS) -c $*.c + +ubi_AVLtree.o: ubi_AVLtree.h ubi_BinTree.h + @echo Compiling $*.c + @$(CC) $(CFLAGS) -c $*.c + +ubi_SplayTree.o: ubi_SplayTree.h ubi_BinTree.h + @echo Compiling $*.c + @$(CC) $(CFLAGS) -c $*.c + +ubi_dLinkList.o: ubi_dLinkList.h + @echo Compiling $*.c + @$(CC) $(CFLAGS) -c $*.c + +.c.o: + @echo Compiling $*.c + @$(CC) $(CFLAGS) -c $*.c + +clean: + rm -f core *.o *~ -- cgit