source: tags/arb-6.0/GDE/SUPPORT/Makefile

Last change on this file was 10974, checked in by westram, 10 years ago
  • renamed include variables
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 861 bytes
Line 
1.SUFFIXES: .o .c .depend
2
3OBJECT =  CAP2.o Restriction.o Zuk_to_gen.o count.o findall.o lsadt.o \
4        sho_helix.o varpos.o
5
6BINARIES=$(OBJECT:%.o=$(ARBHOME)/bin/%)
7
8all: $(BINARIES)
9
10$(ARBHOME)/bin/%: %.c
11        $(A_CC) $(cflags) -o $@ $< $(CC_INCLUDES) -lm
12
13clean:
14        rm -f $(BINARIES)
15
16DEPENDS = $(OBJECT:.o=.depend)
17depends: $(DEPENDS)
18        @cat $(DEPENDS) | grep -v '^#' >>Makefile
19        @rm $(DEPENDS)
20$(DEPENDS): depend.init
21depend.init:
22        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
23.c.depend:
24        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
25
26
27# DO NOT DELETE THIS LINE -- make depend depends on it.
28
29# Do not add dependencies manually - use 'make depend' in $ARBHOME
30# For formatting issues see SOURCE_TOOLS/fix_depends.pl (from GDE)
31
32count.o: Flatio.c
33
34findall.o: Flatio.c
35
36Restriction.o: Flatio.c
37
38sho_helix.o: Flatio.c
39
40varpos.o: Flatio.c
Note: See TracBrowser for help on using the repository browser.