diff options
Diffstat (limited to 'spectro/Makefile.UNIX')
-rw-r--r-- | spectro/Makefile.UNIX | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/spectro/Makefile.UNIX b/spectro/Makefile.UNIX new file mode 100644 index 0000000..5eaf6b5 --- /dev/null +++ b/spectro/Makefile.UNIX @@ -0,0 +1,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) $< + |