X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/7bef9a814dacda99e7bff6d2374b76a48bc13002..ddc964cd151aae4713a5d2d658da986df7cd3441:/emufs/Makefile diff --git a/emufs/Makefile b/emufs/Makefile index 7c7f81e..77b05c0 100644 --- a/emufs/Makefile +++ b/emufs/Makefile @@ -1,9 +1,13 @@ -CFLAGS=-Wall -g -ansi -pedantic -DDEBUG -LDFLAGS=-lm +CFLAGS=-Wall -g -I/usr/include/libxml2 -DDEBUG +LDFLAGS= -lm -lmenu -lncurses -lxml2 +#CFLAGS=-Wall -g -pedantic -DDEBUG +#LDFLAGS=-lm EMUFS_COMMON=emufs.o tipo1.o tipo2.o tipo3.o idx.o did.o fsc.o common.o indices.o indice_b.o b_plus.o -all: libemufs.a tipo1_main tipo2_main tipo3_main b_test +TARGETS=libemufs.a tipo1_main tipo2_main tipo3_main b_plus_test + +all: $(TARGETS) tipo1_main: tipo1_main.o $(EMUFS_COMMON) @@ -11,7 +15,8 @@ tipo2_main: tipo2_main.o $(EMUFS_COMMON) tipo3_main: tipo3_main.o $(EMUFS_COMMON) -b_plus_test: b_plus_test.o $(EMUFS_COMMON) +b_plus_test: b_plus_test.o b_plus.o + #b_plus_test: b_plus_test.o b_plus.o indices.o emufs.o #b_test: b_test.o indice_b.o @@ -20,4 +25,4 @@ libemufs.a: $(EMUFS_COMMON) $(AR) cru libemufs.a $(EMUFS_COMMON) clean: - @$(RM) -fv *.o tipo1_main tipo2_main tipo3_main articulos.* + @$(RM) -fv *.o articulos.* $(TARGETS)