source: branches/port5/SL/FILE_BUFFER/Makefile

Last change on this file was 5225, checked in by westram, 17 years ago
  • changed names of linker commands
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 885 bytes
Line 
1# INCLUDE und GLOBALS MAIN CC cflags werden von aussen uebergeben
2
3.SUFFIXES: .o .c .cxx .depend
4
5C_OBJECTS =
6CPP_OBJECTS = \
7        FileBuffer.o \
8
9OBJECTS=$(C_OBJECTS) $(CPP_OBJECTS)
10
11$(MAIN): $(OBJECTS)
12        $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS)
13
14.cxx.o:
15        $(CPP) $(cflags) -c $< $(CPPINCLUDES)
16
17.c.o:
18        $(ACC) $(cflags) -c $< $(AINCLUDES)
19
20clean:
21        rm -f $(OBJECTS) *.a
22
23DEPENDS = $(OBJECTS:.o=.depend)
24depends: $(DEPENDS)
25        @cat $(DEPENDS) | grep -v '^#' >>Makefile
26        @rm $(DEPENDS)
27$(DEPENDS): depend.init
28depend.init:
29        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
30.c.depend:
31        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
32.cxx.depend:
33        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
34
35# DO NOT DELETE
36
37# Do not add dependencies manually - use 'make depend' in $ARBHOME
38# For formatting issues see SOURCE_TOOLS/fix_depends.pl
39
40FileBuffer.o: FileBuffer.h
Note: See TracBrowser for help on using the repository browser.