summaryrefslogtreecommitdiff
path: root/source3/ubiqx/Makefile
blob: 369f7762bfebb84c337362f8b2b83615355430aa (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
33
34
35
36
37
###########################################################################
# 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_sLinkList.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

ubi_sLinkList.o: ubi_sLinkList.h
	@echo Compiling $*.c
	@$(CC) $(CFLAGS) -c $*.c

.c.o:
	@echo Compiling $*.c
	@$(CC) $(CFLAGS) -c $*.c

clean:
	rm -f core *.o *~