Makefile 290 B

12345678910111213141516171819
  1. # Make all libraries
  2. export
  3. CFLAGS := $(patsubst -I%,-I../../%,$(CFLAGS))
  4. SUBDIRS := $(shell ls -F|grep /|grep -v CVS)
  5. .PHONY: subdirs $(SUBDIRS)
  6. .PHONY: clean
  7. subdirs: ${SUBDIRS}
  8. ${SUBDIRS}:
  9. ${MAKE} -C $@
  10. clean:
  11. find . -name *.a -delete
  12. find . -name *.o -delete