FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
alight/Makefile at main · httpsworldview/alight · GitHub
httpsworldview
/
alight
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
alight
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (23 loc) · 864 Bytes
Breadcrumbs
alight
/
Makefile
Copy path
File metadata and controls
31 lines (23 loc) · 864 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
PREFIX
?= /usr/local
BINDIR
?=
$(
PREFIX
)
/bin
UDEVDIR
?= /etc/udev/rules.d
LICENSEDIR
?=
$(
PREFIX
)
/share/licenses/alight
CFLAGS
?= -Os -std=c99 -Wall -Wextra -pedantic
export
CC
CPPFLAGS
CFLAGS
LDFLAGS
LDLIBS
UDEV_RULE
= 90-alight.rules
LICENSE_FILE
= LICENSE
all
: alight
alight
: alight.c
$(
CC
)
$(
CPPFLAGS
)
$(
CFLAGS
)
$(
LDFLAGS
)
-o
$@
$<
$(
LDLIBS
)
install
: alight
$(
UDEV_RULE
)
$(
LICENSE_FILE
)
install -d
'
$(DESTDIR)$(BINDIR)
'
'
$(DESTDIR)$(UDEVDIR)
'
\
'
$(DESTDIR)$(LICENSEDIR)
'
install -m 755 alight
'
$(DESTDIR)$(BINDIR)/alight
'
install -m 644
$(
UDEV_RULE
)
'
$(DESTDIR)$(UDEVDIR)/$(UDEV_RULE)
'
install -m 644
$(
LICENSE_FILE
)
'
$(DESTDIR)$(LICENSEDIR)/$(LICENSE_FILE)
'
uninstall
:
rm -f
'
$(DESTDIR)$(BINDIR)/alight
'
'
$(DESTDIR)$(UDEVDIR)/$(UDEV_RULE)
'
\
'
$(DESTDIR)$(LICENSEDIR)/$(LICENSE_FILE)
'
clean
:
rm -f alight
.PHONY
: all install uninstall clean
Back
|
FazBrowse Home
|
New Git URL