Makefile
上传用户:lsh121205
上传日期:2007-01-08
资源大小:25k
文件大小:1k
源码类别:

DVD

开发平台:

C/C++

  1. headers = css-auth.h
  2. tstdvd_objs = tstdvd.o css-auth.o
  3. validate_objs = validate.o css-auth.o
  4. cat_objs = css-cat.o css-descramble.o
  5. all: tstdvd reset dvdinfo css-cat
  6. tstdvd: $(tstdvd_objs) $(headers)
  7. gcc $(tstdvd_objs) -o $@
  8. css-cat: $(cat_objs) css-descramble.h
  9. gcc $(cat_objs) -o $@
  10. validate: $(validate_objs) $(headers)
  11. gcc $(validate_objs) -o $@
  12. clean:
  13. -rm -f *.o tstdvd validate reset dvdinfo
  14. dist-files = css-auth/COPYING css-auth/README css-auth/Makefile 
  15. css-auth/css-auth.h css-auth/css-auth.c 
  16. css-auth/tstdvd.c css-auth/dvdinfo.c css-auth/reset.c 
  17. css-auth/css-cat.c css-auth/css-descramble.c 
  18. css-auth/css-descramble.h
  19. dist:
  20. (cd ..;tar cvf css-auth.tar $(dist-files) )