summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-11-16 16:51:30 -0500
committerDave Reisner <dreisner@archlinux.org>2014-11-16 16:54:30 -0500
commitc16a1cea13c70e9c40a8db82d561e71bd04f404f (patch)
tree1adf263ea9a8b1d7b2f84d0e858571a4888606f2 /Makefile
parent13145a3957ac029fc5e3f538f676c0075255822d (diff)
downloadexpac-c16a1cea13c70e9c40a8db82d561e71bd04f404f.tar.xz
Reorg a bit, introduce a control struct
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 85b47a9..d585e4f 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,13 @@ LDLIBS = -lalpm
DISTFILES = expac.c README.pod
+expac_SOURCES = \
+ expac.c \
+ conf.c conf.h \
+ util.h
+
+expac: $(expac_SOURCES)
+
all: expac doc
doc: expac.1
@@ -30,6 +37,6 @@ dist: clean
rm -rf expac-$(VERSION)
clean:
- $(RM) expac.o expac expac.1
+ $(RM) *.o expac expac.1
.PHONY: all clean dist doc install doc