Makefile 350 B

1234567891011121314151617181920212223
  1. # Makefile for badcall
  2. TOP=../../..
  3. .include "$(TOP)/mk/os161.config.mk"
  4. PROG=randcall
  5. SRCS=calls.c main.c
  6. BINDIR=/testbin
  7. .include "$(TOP)/mk/os161.prog.mk"
  8. calls.c: gencalls.sh callspecs.txt
  9. ./gencalls.sh callspecs.txt > calls.c
  10. depend: predepend
  11. predepend:
  12. $(MAKE) calls.c
  13. clean: myclean
  14. myclean:
  15. rm -f calls.c
  16. .PHONY: predepend myclean