summaryrefslogtreecommitdiff
path: root/spectro/Makefile.UNIX
blob: 5eaf6b532b5c3d3642e20da448153c34e40fb3ff (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
# Generic UNIX setup

# Copyright 2000 - 2007 Graeme W. Gill
# This material is licenced under the GNU GENERAL PUBLIC LICENSE Version 2 or later :-
# see the License2.txt file for licencing details.

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    = echo
AS        = as
CCFLAGSDEF   = -DUNIX -DNATIVE_USB -c
CC        = cc $(CCFLAGS) $(STDHDRS)
CCOF      = -o 
LINKFLAGSDEF = -lm -lpthread -lrt
LINKLIBS  = 
LINK      = cc $(LINKFLAGS) $(LINKLIBS)
LINKOF    = -o 
CP        = cp
RM        = rm

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

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