-
Notifications
You must be signed in to change notification settings - Fork 1
/
make.def
executable file
·61 lines (48 loc) · 1.57 KB
/
make.def
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
53
54
55
56
57
58
59
60
#!/bin/make -f
# file: cmassoc/Makefile
# Published 2005 by Charles Maier Associates Limited for internal use;
# ====================================================================
# symbols;
# --------------------------------------------------------------------
CROSS=/usr/bin/
CROSS_LINUX=
# ====================================================================
# toolchain;
# --------------------------------------------------------------------
AR=$(CROSS)ar
CAS=$(CROSS)gcc -c
CC=$(CROSS)gcc
CXX=$(CROSS)g++
LD=$(CROSS)ld
RANLIB=$(CROSS)ranlib
STRIP=$(CROSS)strip
TOUCH=${CROSS}touch
# ====================================================================
# folders;
# --------------------------------------------------------------------
ROOTFS=
BIN=${ROOTFS}/usr/local/bin/cmassoc
MAN=${ROOTFS}/usr/share/man/man1
DOC=${ROOTFS}/home/www/cmassoc/tools
WWW=${ROOTFS}/home/www
FTP=${ROOTFS}/home/ftp
# ====================================================================
# ownership;
# --------------------------------------------------------------------
OWNER=0
GROUP=0
# ====================================================================
# file permissions;
# --------------------------------------------------------------------
DIR_PERM=6755
MAN_PERM=0444
BIN_PERM=0555
SUID_PERM=4555
WWW_PERM=0666
RUN_PERM=0755
SRC_PERM=0644
# ====================================================================
# targets;
# --------------------------------------------------------------------
.SUFFIXES: .o .c .h .cpp .hpp
.PHONY: all compile library scripts manuals install uninstall clean fresh