blob: dbb999250bda82a591f3238e93422450f69d2098 (
plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# UNIX style makefile, for icclib and friends.
# "include" the right environment for your system,
# by uncommenting the appropriate line:
# Microsoft C++, WinNT setup
include Makefile.WNT
# IBM C++, WinNT setup
#include Makefile.IBMNT
# Generic UNIX setup
#include Makefile.UNIX
# Apple OSX
#include Makefile.OSX
###############################
#Compile with separate stdio
#CCDEFINES = $(DEFFLAG)SEPARATE_STD
#Set optimisation on
CCFLAGS = $(CCFLAGSDEF) $(CCOPTFLAG) $(CCDEFINES)
#Set debugging on
#CCFLAGS = $(CCFLAGSDEF) $(CCDEBUGFLAG) $(CCDEFINES)
STDHDRS = $(STDHDRSDEF)
LINKFLAGS = $(LINKFLAGSDEF) $(LINKDEBUGFLAG)
all:: libicc$(SUFLIB) icctest$(SUFEXE) lutest$(SUFEXE) icclu$(SUFEXE) iccdump$(SUFEXE) iccrw$(SUFEXE)
icc$(SUFOBJ): icc.c icc.h
$(CC) $(CCOF)icc$(SUFOBJ) icc.c
libicc$(SUFLIB): icc$(SUFOBJ)
$(LIBU) $(LIBOF)libicc$(SUFLIB) icc$(SUFOBJ)
$(RANLIB) libicc$(SUFLIB)
# Separate for executables
iccstd$(SUFOBJ): iccstd.c icc.h
$(CC) $(CCOF)iccstd$(SUFOBJ) iccstd.c
icctest$(SUFOBJ): icctest.c icc.h
$(CC) $(CCOF)icctest$(SUFOBJ) icctest.c
icctest$(SUFEXE): icctest$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
$(LINK) $(LINKOF)icctest$(SUFEXE) icctest$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
lutest$(SUFOBJ): lutest.c icc.h
$(CC) $(CCOF)lutest$(SUFOBJ) lutest.c
lutest$(SUFEXE): lutest$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
$(LINK) $(LINKOF)lutest$(SUFEXE) lutest$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
icclu$(SUFOBJ): icclu.c icc.h
$(CC) $(CCOF)icclu$(SUFOBJ) icclu.c
icclu$(SUFEXE): icclu$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
$(LINK) $(LINKOF)icclu$(SUFEXE) icclu$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
iccdump$(SUFOBJ): iccdump.c icc.h
$(CC) $(CCOF)iccdump$(SUFOBJ) iccdump.c
iccdump$(SUFEXE): iccdump$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
$(LINK) $(LINKOF)iccdump$(SUFEXE) iccdump$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
iccrw$(SUFOBJ): iccrw.c icc.h
$(CC) $(CCOF)iccrw$(SUFOBJ) iccrw.c
iccrw$(SUFEXE): iccrw$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
$(LINK) $(LINKOF)iccrw$(SUFEXE) iccrw$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB)
|