summaryrefslogtreecommitdiff
path: root/source3/ubiqx/Makefile
blob: 16fb454e77d1e6fa335fa4e07c3e670cbb501de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 *~