diff options
author | Christopher R. Hertel <crh@samba.org> | 1997-10-10 16:12:27 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 1997-10-10 16:12:27 +0000 |
commit | 23cac105fdd8057993d0c42358fc245ad5618ee5 (patch) | |
tree | 6864dbad42131566e2cc3e1bd47f81e9d1e4690e /source3/ubiqx | |
parent | c5e739febe5ab3bcc5d147fe791c788ec72531a3 (diff) | |
download | samba-23cac105fdd8057993d0c42358fc245ad5618ee5.tar.gz samba-23cac105fdd8057993d0c42358fc245ad5618ee5.tar.xz samba-23cac105fdd8057993d0c42358fc245ad5618ee5.zip |
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)
Diffstat (limited to 'source3/ubiqx')
-rw-r--r-- | source3/ubiqx/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
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 *~ |