diff options
Diffstat (limited to 'cgats/Makefile.UNIX')
-rw-r--r-- | cgats/Makefile.UNIX | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/cgats/Makefile.UNIX b/cgats/Makefile.UNIX new file mode 100644 index 0000000..91d6005 --- /dev/null +++ b/cgats/Makefile.UNIX @@ -0,0 +1,38 @@ +# Generic 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 = -o +RANLIB = echo +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) $< + |