source: tags/cvs_2_svn/AISC_MKPTPS/Makefile

Last change on this file was 4868, checked in by westram, 17 years ago
  • added POST_COMPILE where needed
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 784 bytes
Line 
1# INCLUDE und GLOBALS MAIN CC cflags werden von aussen uebergeben
2
3.SUFFIXES: .o .c .depend
4
5OBJECTS = mkptypes.o
6BINARY = aisc_mkpt
7
8$(MAIN): $(BINARY)
9
10$(BINARY): $(OBJECTS)
11        $(ACC) $(cflags) -o $@ $(OBJECTS)
12
13.c.o:
14        $(ACC) $(cflags) -c $< $(POST_COMPILE)
15
16clean:
17        rm -f $(OBJECTS) $(BINARY)
18
19DEPENDS = $(OBJECTS:.o=.depend)
20depends: $(DEPENDS)
21        @cat $(DEPENDS) | grep -v '^#' >>Makefile
22        @rm $(DEPENDS)
23$(DEPENDS): depend.init
24depend.init:
25        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
26.c.depend:
27        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
28
29# DO NOT DELETE THIS LINE -- make depend depends on it.
30
31# Do not add dependencies manually - use 'make depend' in $ARBHOME
32# For formatting issues see SOURCE_TOOLS/fix_depends.pl
33
34mkptypes.o: patchlev.h
Note: See TracBrowser for help on using the repository browser.