-
-
Notifications
You must be signed in to change notification settings - Fork 124
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 574 Bytes
/
Makefile
File metadata and controls
29 lines (21 loc) · 574 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
# -*- mode: makefile-bsdmake -*-
all:
.PHONY: all install
.warning [1;31mThis is not GNU make. Plaese use GNU make (gmake).[m
.warning [1mTrying to redirect to gmake...[m
.ifdef INSDIR
assign_insdir := INSDIR="$(INSDIR)"
.endif
.ifdef INSDIR_DOC
assign_insdir_doc := INSDIR_DOC="$(INSDIR_DOC)"
.endif
.ifdef PREFIX
assign_prefix := PREFIX="$(PREFIX)"
.endif
.ifdef DESTDIR
assign_destdir := DESTDIR="$(DESTDIR)"
.endif
all:
gmake -f GNUmakefile all
install:
gmake -f GNUmakefile install $(assign_insdir) $(assign_insdir_doc) $(assign_prefix) $(assign_destdir)