Subversion Repositories shark

Rev

Rev 64 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#
#
#

.PHONY: test all install depend clean cleanall
.PHONY: $(PROGS)

SUBMAKE:=$(BASE)/config/example2.mk

test: $(PROGS)

all install:

clean::
        $(RM) *.o
        $(RM) *.err
        -rm -f $(PROGS)

cleanall:: clean
        $(RM) deps
        $(RM) *.bak
        $(RM) *.~
        $(RM) *.?~
        $(RM) *.??~

MYOBJS= $(addsuffix .c,$(PROGS)) $(OBJS)

depend:
        $(CC) $(C_OPT) -M $(wildcard $(MYOBJS:.o=.c) $(MYOBJS:.o=.s)) > deps

deps:
        $(CC) $(C_OPT) -M $(wildcard $(MYOBJS:.o=.c) $(MYOBJS:.o=.s)) > deps