X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/047e95f003fdbb9498856681f180e72228b12d61..0671a3f17c59204a36453f20bde7b4cf228dc396:/emufs/Makefile?ds=sidebyside diff --git a/emufs/Makefile b/emufs/Makefile index db9dd45..740b798 100644 --- a/emufs/Makefile +++ b/emufs/Makefile @@ -1,11 +1,28 @@ -CFLAGS=-Wall -g -ansi -pedantic -DDEBUG -LDFLAGS= +CFLAGS=-Wall -g -I/usr/include/libxml2 -DDEBUG +LDFLAGS= -lm -lmenu -lncurses -lxml2 +#CFLAGS=-Wall -g -pedantic -DDEBUG +#LDFLAGS=-lm -EMUFS_COMMON=emufs.o idx.o did.o +EMUFS_COMMON=emufs.o tipo1.o tipo2.o tipo3.o idx.o did.o fsc.o common.o indices.o indice_b.o indice_bplus.o -all: tipo3_main +TARGETS=libemufs.a tipo1_main tipo2_main tipo3_main b_plus_test -tipo3_main: tipo3_main.o tipo3.o $(EMUFS_COMMON) +all: $(TARGETS) + +tipo1_main: tipo1_main.o $(EMUFS_COMMON) + +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 indices.o emufs.o + +#b_test: b_test.o indice_b.o + +libemufs.a: $(EMUFS_COMMON) + $(AR) cru libemufs.a $(EMUFS_COMMON) clean: - @rm -fv *.o tipo3_main + @$(RM) -fv *.o articulos.* $(TARGETS)