From c66848f17f737f1a22072adddd38b6e571fc00df Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Wed, 12 Oct 2011 20:09:30 -0400 Subject: remove config.mk --- Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6936064..3ca9403 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,15 @@ -include config.mk +# expac - an alpm data dump tool +VERSION = $(shell git describe --always) + +# paths +PREFIX ?= /usr/local +MANPREFIX ?= ${PREFIX}/share/man + +# compiler flags +CC ?= gcc +CPPFLAGS += -DVERSION=\"${VERSION}\" +CFLAGS += -std=c99 -g -pedantic -Wall -Wextra -Werror ${CPPFLAGS} +LDFLAGS += -lalpm SRC = expac.c OBJ = ${SRC:.c=.o} -- cgit v1.2.3-70-g09d2