summaryrefslogtreecommitdiff
path: root/cgats/Makefile.OSX
blob: fb1c88fc3cd8acf805957611a989516d4c22674c (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
# MAC OSX, derived from UNIX setup

SLASH     = /
SUFLIB    = .a
SUFOBJ    = .o
SUFEXE    = 
CMDSEP    = ;

INCFLAG       = -I
DEFFLAG       = -D
UNDEFFLAG     = "-u _"
CCOPTFLAG     = -O
CCDEBUGFLAG   = -g
CCPROFFLAG    = 
LINKDEBUGFLAG = 
LINKPROFFLAG  = 

STDHDRSDEF = /usr/include

MAKEU     = make
LIBU      = ar -r
LIBOF     = 
RANLIB    = ranlib
AS        = as
CCFLAGSDEF   = -DUNIX -c
CC        = cc $(CCFLAGS) $(INCFLAG)$(STDHDRS)
CCOF      = -o
LINKFLAGSDEF = -lm
LINKLIBS  = 
LINK      = cc $(LINKFLAGS) $(LINKLIBS)
LINKOF    = -o 

.SUFFIXES:
.SUFFIXES: .c $(SUFLIB) $(SUFOBJ) $(SUFEXE)

.c$(SUFOBJ):
	$(CC) $(CCOF)$*$(SUFOBJ) $<