Rev 3 | 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)
#ifndef OSLIB
OSLIB=
#endif
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 $(MYOBJS:.o=.c) > deps
deps:
$(CC) $(C_OPT) -M $(MYOBJS:.o=.c) > deps