# INCLUDE und GLOBALS MAIN CC cflags werden von aussen uebergeben .SUFFIXES: .o .c .depend C_OBJECTS = glpng.o $(MAIN): $(C_OBJECTS) $(LINK_STATIC_LIB) $(MAIN) $(C_OBJECTS) .c.o: $(ACC) $(cflags) -c $< $(AINCLUDES) $(POST_COMPILE) clean: rm -f $(C_OBJECTS) *.a DEPENDS = $(C_OBJECTS:.o=.depend) depends: $(DEPENDS) @cat $(DEPENDS) | grep -v '^#' >>Makefile @rm $(DEPENDS) $(DEPENDS): depend.init depend.init: $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies .c.depend: $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ .cxx.depend: $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ # DO NOT DELETE # Do not add dependencies manually - use 'make depend' in $ARBHOME # For formatting issues see SOURCE_TOOLS/fix_depends.pl glpng.o: $(ARBHOME)/INCLUDE/GL/glpng.h