]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blobdiff - src/Makefile
Agrego ScrolledWindow a la vista de debug.
[z.facultad/75.52/treemulator.git] / src / Makefile
index cd9cbe7dd6fc78b56b66b20e13cd7a2887009ca6..208da3198cdfeaab2f7bc2a8f469c81667f64e99 100644 (file)
@@ -1,8 +1,17 @@
-TARGET=btree
+TARGETS=btree libbtree.a
 CXXFLAGS=-Wall -g
 
 CXXFLAGS=-Wall -g
 
-all: $(TARGET)
+BTREE_COMMON=btree.o clave_fija.o btree_data.o
+
+all: $(TARGETS)
+
+btree: main.o $(BTREE_COMMON)
+       g++ -o btree main.o $(BTREE_COMMON)
+
+libbtree.a: $(BTREE_COMMON)
+       $(AR) cru libbtree.a $(BTREE_COMMON)
+
+clean:
+       rm -rf *.o $(TARGETS)
 
 
-$(TARGET): main.o btree.o clave_fija.o
-       g++ -o $(TARGET) main.o btree.o clave_fija.o