-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (31 loc) · 698 Bytes
/
Makefile
File metadata and controls
42 lines (31 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Combines a hierarchy of files into a single output stream.
#
# Copyright (C) Jaypha 2014.
#
# Distributed under the Boost Software License, Version 1.0.
# (See http://www.boost.org/LICENSE_1_0.txt)
#
# Authors: Jason den Dulk
VERSION=1.0.0
PACKAGE_NAME=hcat
TARBALL_NAME=$(PACKAGE_NAME)-$(VERSION)
DC=dmd
all: bin
bin: src/hcat.d
$(DC) -O -inline -release src/hcat.d
strip hcat
install: hcat
cp hcat $(DESTDIR)/usr/bin
uninstall:
rm -f $(DESTDIR)/usr/bin/hcat
distclean: clean
clean:
rm hcat
rm hcat.o
rm -rf .dub
rm -rf $(TARBALL_NAME)
tarball:
mkdir $(TARBALL_NAME)
cp Makefile $(TARBALL_NAME)
cp -R src $(TARBALL_NAME)
tar -cvzf $(TARBALL_NAME).tar.gz $(TARBALL_NAME)