-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
52 lines (43 loc) · 1.53 KB
/
Makefile
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
42
43
44
45
46
47
48
49
50
51
52
##########################################################################
# Makefile
#
# This software is a devLib extension to wiringPi <http://wiringpi.com/>
# and enables it to control an LCD1602 or LCD2004 via a pcf8574 module
# http://ww1.microchip.com/downloads/en/devicedoc/20001952c.pdf
#
#
# Copyright (c) 2019 Wade Ryan
#
# If you have questions or improvements email me at
#
# This software is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# The given code is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You can view the contents of the licence at <http://www.gnu.org/licenses/>.
##########################################################################
# Sorry, I hate make and cmake, but at least I give you a
# make file interface, so you can use make like you're used to
##########################################################################
all: compile
clean: chmod
@sudo ./build.sh clean
compile: chmod
@sudo ./build.sh compile
package: chmod
@sudo ./build.sh package
install: chmod
@sudo ./build.sh install
exe: chmod
@sudo ./build.sh exe
remove: chmod
@sudo ./build.sh remove
chmod:
@sudo chmod 755 build.sh