source: branches/port5/GDE/FASTDNAML/Makefile

Last change on this file was 5872, checked in by westram, 16 years ago
  • Changed variable transfer to sub-makefiles
    • most variables are now exported via environment (using SOURCE_TOOLS/export2sub or AISC/export2sub)
    • only variables that contain different values for different sub-makefile-calls are passed by cl (e.g. cflags, MAIN)
    • changed flavour of exported variables (recursively expanded → simply expanded variables). Please use VAR := VALUE in Makefiles (not VAR = VALUE). See http://www.gnu.org/software/make/manual/html_node/Flavors.html#Flavors for details
  • removed/fixed all undefined variables in Makefiles (using 'make —warn-undefined-variables')
  • changed names of compile-logs generated in GDE subdir
  • added target 'xmlin' (broken, print warning)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 688 bytes
Line 
1.SUFFIXES: .o .c .depend
2
3OBJECT = fastDNAml.o
4TARGET = $(ARBHOME)/bin/fastdnaml
5
6all : $(TARGET)
7
8$(TARGET) : $(OBJECT)
9        $(ACC) $(cflags) -o $@ $< -lm
10
11.c.o:
12        $(ACC) $(cflags) -c -o $@ $< $(AINCLUDES)
13
14clean:
15        rm -f $(OBJECT) $(TARGET)
16
17DEPENDS = $(OBJECT:.o=.depend)
18depends: $(DEPENDS)
19        @cat $(DEPENDS) | grep -v '^#' >>Makefile
20        @rm $(DEPENDS)
21$(DEPENDS): depend.init
22depend.init:
23        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
24.c.depend:
25        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
26
27# DO NOT DELETE
28
29# Do not add dependencies manually - use 'make depend' in $ARBHOME
30# For formatting issues see SOURCE_TOOLS/fix_depends.pl
31
32fastDNAml.o: fastDNAml.h
Note: See TracBrowser for help on using the repository browser.