home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / fst03f.zip / Makefile < prev   
Makefile  |  1996-01-26  |  1KB  |  45 lines

  1. #
  2. # Copyright (c) 1995-1996 by Eberhard Mattes
  3. #
  4. # This file is part of fst.
  5. #
  6. # fst is free software; you can redistribute it and/or modify it
  7. # under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2, or (at your option)
  9. # any later version.
  10. #
  11. # fst is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. # GNU General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU General Public License
  17. # along with fst; see the file COPYING.  If not, write to the
  18. # the Free Software Foundation, 59 Temple Place - Suite 330,
  19. # Boston, MA 02111-1307, USA.
  20. #
  21.  
  22. #CC=gcc -g -Wall -pedantic
  23. CC=gcc -Zomf -Zsys -O2 -s -Wall -pedantic
  24. #CC=icc -O
  25.  
  26. default: fst.exe
  27.  
  28. fst.exe: fst.obj do_hpfs.obj do_fat.obj diskio.obj crc.obj fst.def
  29.     $(CC) fst.obj do_hpfs.obj do_fat.obj diskio.obj crc.obj fst.def
  30.  
  31. fst.obj: fst.c fst.h do_hpfs.h do_fat.h crc.h diskio.h fat.h
  32.     $(CC) -c fst.c
  33.  
  34. do_hpfs.obj: do_hpfs.c fst.h do_hpfs.h crc.h diskio.h hpfs.h
  35.     $(CC) -c do_hpfs.c
  36.  
  37. do_fat.obj: do_fat.c fst.h do_fat.h crc.h diskio.h
  38.     $(CC) -c do_fat.c
  39.  
  40. diskio.obj: diskio.c fst.h crc.h diskio.h
  41.     $(CC) -c diskio.c
  42.  
  43. crc.obj: crc.c crc.h
  44.     $(CC) -c crc.c
  45.