summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-10-12 20:09:30 -0400
committerDave Reisner <dreisner@archlinux.org>2011-10-12 20:09:30 -0400
commitc66848f17f737f1a22072adddd38b6e571fc00df (patch)
tree116892ae5394dfc19001b74675e4baf3f282fadd
parent3cf25f8f431d5abf0557a7c56c10399637613639 (diff)
downloadexpac-c66848f17f737f1a22072adddd38b6e571fc00df.tar.xz
remove config.mk
-rw-r--r--Makefile13
-rw-r--r--config.mk12
2 files changed, 12 insertions, 13 deletions
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}
diff --git a/config.mk b/config.mk
deleted file mode 100644
index 3a90cd4..0000000
--- a/config.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# version
-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