source: tags/arb_5.2/SL/REGEXPR/Makefile

Last change on this file was 5803, checked in by westram, 15 years ago
  • added C++-Wrapper for regular expressions (REGEXPR.a)
File size: 1.2 KB
Line 
1# INCLUDE und GLOBALS MAIN CC cflags werden von aussen uebergeben
2
3.SUFFIXES: .o .c .cxx .depend
4
5C_OBJECTS = 
6CPP_OBJECTS = RegExpr.o
7OBJECTS=$(C_OBJECTS) $(CPP_OBJECTS)
8
9$(MAIN): $(OBJECTS)
10        $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS)
11
12.cxx.o:
13        $(CPP) $(cflags) -c $< $(CPPINCLUDES)
14
15.c.o:
16        $(ACC) $(cflags) -c $< $(AINCLUDES)
17
18clean:
19        rm -f $(OBJECTS) *.a
20
21DEPENDS = $(OBJECTS:.o=.depend)
22depends: $(DEPENDS)
23        @cat $(DEPENDS) | grep -v '^#' >>Makefile
24        @rm $(DEPENDS)
25$(DEPENDS): depend.init
26depend.init:
27        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
28.c.depend:
29        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
30.cxx.depend:
31        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
32
33# DO NOT DELETE
34
35# Do not add dependencies manually - use 'make depend' in $ARBHOME
36# For formatting issues see SOURCE_TOOLS/fix_depends.pl
37
38RegExpr.o: RegExpr.hxx
39RegExpr.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
40RegExpr.o: $(ARBHOME)/INCLUDE/ad_prot.h
41RegExpr.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
42RegExpr.o: $(ARBHOME)/INCLUDE/arb_assert.h
43RegExpr.o: $(ARBHOME)/INCLUDE/arbdb.h
44RegExpr.o: $(ARBHOME)/INCLUDE/arbdb_base.h
45RegExpr.o: $(ARBHOME)/INCLUDE/arbdbt.h
46RegExpr.o: $(ARBHOME)/INCLUDE/arbtools.h
47RegExpr.o: $(ARBHOME)/INCLUDE/attributes.h
Note: See TracBrowser for help on using the repository browser.