]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blob - src/Makefile
Genero .a para reutilizar
[z.facultad/75.52/treemulator.git] / src / Makefile
1 TARGETS=btree libbtree.a
2 CXXFLAGS=-Wall -g
3
4 BTREE_COMMON=btree.o clave_fija.o btree_data.o
5
6 all: $(TARGETS)
7
8 btree: main.o $(BTREE_COMMON)
9         g++ -o btree main.o $(BTREE_COMMON)
10
11 libbtree.a: $(BTREE_COMMON)
12         $(AR) cru libbtree.a $(BTREE_COMMON)
13
14 clean:
15         rm -rf *.o $(TARGETS)
16
17