From d6c74352427367a334d37469962bbcf1b9ae364c Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Thu, 17 Apr 2008 14:09:13 +0000 Subject: Initial commit of some stuff written so far. Still in state of flux. Expect breakage and major changes. --- src/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/Makefile (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..0964012 --- /dev/null +++ b/src/Makefile @@ -0,0 +1,39 @@ +# Makefile - one file to rule them all, one file to bind them +# +# Copyright (C) 2007 Timo Teräs +# All rights reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 3 as published +# by the Free Software Foundation. See http://www.gnu.org/ for details. + +TARGETS = apk + +apk_OBJS = \ + state.o \ + database.o \ + package.o \ + archive.o \ + version.o \ + blob.o \ + hash.o \ + md5.o \ + add.o \ + del.o \ + ver.o \ + index.o \ + apk.o + +ALL_OBJS = $(apk_OBJS) + +all: $(TARGETS) + +apk: $(apk_OBJS) + +clean:: + @rm -f $(TARGETS) $(ALL_OBJS) + +install:: + $(INSTALLDIR) $(DESTDIR)$(SBINDIR) + $(INSTALL) $(TARGETS) $(DESTDIR)$(SBINDIR) + -- cgit v1.2.3