home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-06-30 | 937 b | 45 lines |
- # makefile for mcread...
-
- CC=cc
- # Set the CC variable to the name of your preferred C compiler.
-
- CCOPTS=-O
- # Set CCOPTS to your usual options, like -O for optimized code, or
- # -g for debugging symbols.
-
-
- all: main.o macwrite.o mbinary.o wordwrap.o text.o
- $(CC) main.o macwrite.o mbinary.o wordwrap.o text.o -o mcread
- strip mcread
-
- main.o: mcread.h main.c
- $(CC) $(CCOPTS) -c main.c
-
- macwrite.o: mcread.h macwrite.c
- $(CC) $(CCOPTS) -c macwrite.c
-
- text.o: mcread.h text.c
- $(CC) $(CCOPTS) -c text.c
-
- mbinary.o: mcread.h mbinary.c
- $(CC) $(CCOPTS) -c mbinary.c
-
- wordwrap.o: mcread.h wordwrap.c
- $(CC) $(CCOPTS) -c wordwrap.c
-
- clean:
- rm -f *.o
-
- shar:
- shar *.c *.h Makefile mcREADME mwformat MACAtest.uu > mcread.shar
- chmod 700 mcread.shar
-
- tar:
- uudecode MACAtest.uu
- tar cfv mcread.tar *.c *.h Makefile mcREADME mwformat MACAtest.bin
- rm MACAtest.bin
- compress mcread.tar
- uuencode mcread.tar.Z mcread.tar.Z > mcread.tar.Z.uu
-
- # eof
-