Subversion Repositories PlanixRsrch.SVN

Rev

Rev 4 | Rev 8 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 7
Line 1... Line 1...
1
 
1
 
2
OBJS=mavl_create.o mavl.o mavl_get.o mavl_del_all.o mavlnode_destroy.o \
2
OBJS=mavl_create.o mavl.o mavl_get.o mavl_del_all.o mavlnode_destroy.o \
3
	mavl_get_depth.o
3
	mavl_get_depth.o \
-
 
4
	mavliter_init.o \
-
 
5
	mavliter_next.o \
-
 
6
	mavliter_get.o \
-
 
7
	mavliter_seek_set.o
4
 
8
 
5
CC=tcc -Xs 
9
CC=tcc -Xs 
6
 
10
 
7
LIBNAME=libmavl.a
11
LIBNAME=libmavl.a
8
 
12
 
Line 10... Line 14...
10
	$(CC) -c $(CFLAGDS) $<
14
	$(CC) -c $(CFLAGDS) $<
11
 
15
 
12
$(LIBNAME): $(OBJS)
16
$(LIBNAME): $(OBJS)
13
	$(AR) rcs $(LIBNAME) $(OBJS)
17
	$(AR) rcs $(LIBNAME) $(OBJS)
14
 
18
 
15
example1: $(LIBNAME) main.o
19
example1: $(LIBNAME) example1.o
16
	$(CC) -o example1 main.o $(LIBNAME)
20
	$(CC) -o example1 example1.o $(LIBNAME)
17
 
21
 
18
 
22
 
19
clean:
23
clean:
20
	rm -f $(OBJS)
24
	rm -f $(OBJS)
21
	rm -f $(LIBNAME)
25
	rm -f $(LIBNAME)
22
	rm -f example1 main.o
26
	rm -f example1.o example1 
-
 
27
	rm -f *.core