From 3669be4d8bfc1b4aa76cc4a27680c5832d9948d4 Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Mon, 17 Oct 2016 21:09:39 -0300 Subject: [PATCH] Delete makefile --- src/Makefile | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 src/Makefile diff --git a/src/Makefile b/src/Makefile deleted file mode 100644 index 407c3a4..0000000 --- a/src/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# Este makefile es el antiguo y mas limitado, no puede detectar el entorno para verificar que la compilación va a funcionar - -CC=gcc -BINDIR=out -SRCDIR=. -EXTRADIR=misc -DEBUG_FLAGS=-Wall -Werror - -CFLAGS=$(DEBUG_FLAGS) -ggdb -Wconversion -std=c11 -D_DEFAULT_SOURCE $(shell pkg-config libxml-2.0 --cflags) -ansi -LDFLAGS=$(shell pkg-config libxml-2.0 --libs) - -#CPPFLAGS -# DEBUG: show debug information during runtime -# DEBUG_ENCODING: show debug information related to encoding at runtime - -CPPFLAGS=-DDEBUG - -BINARY=generarxml - -OBJS = \ - $(SRCDIR)/main.o \ - $(SRCDIR)/readconfig.o \ - $(SRCDIR)/readfile.o \ - $(SRCDIR)/encoding.o \ - $(SRCDIR)/string.o - -all: bin - -bin: $(OBJS) - [ -d "out" ] && echo ¨out already exists¨ || mkdir -v out - $(CC)$(xml2-config --cflags --libs) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $(BINDIR)/$(BINARY) - cp $(EXTRADIR)/*.conf $(BINDIR)/ - cp $(EXTRADIR)/*.dtd $(BINDIR)/ - cp $(EXTRADIR)/*.txt $(BINDIR)/ - -clean: - rm -fR $(BINDIR) $(SRCDIR)/*.o - -%.o: %.c - $(CC)$(xml2-config --cflags --libs) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c $< -o $@