home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-19 | 1.3 KB | 44 lines |
- # Windows/NT Makefile
-
- DEFS = -DUSG=1 -DHAVE_STRING_H=1 -DPR_FILE_NAME=\"pr\" -DDIFF_PROGRAM=\"diff\"
-
- CFLAGS = -Ox -I. -Ims -DREGEX_MALLOC -D__MSC__ -D__NT__ $(DEFS)
-
- all: diff.exe diff3.exe #####cmp.exe sdiff.exe
-
- DIFFOBJ = diff.obj analyze.obj io.obj context.obj ed.obj normal.obj util.obj \
- dir.obj fnmatch.obj regex.obj side.obj ifdef.obj version.obj \
- getopt.obj getopt1.obj cmpbuf.obj dirent.obj
- diff.exe: $(DIFFOBJ)
- cl -Fediff.exe $(DIFFOBJ)
-
- DIFF3OBJ = diff3.obj getopt.obj getopt1.obj version.obj
- diff3.exe: $(DIFF3OBJ)
- cl -Fediff3.exe $(DIFF3OBJ)
-
- dirent.obj: ms\dirent.c
- $(CC) -Ox -c -Ims -D__NT__ -D__MSC__ ms\dirent.c
-
- analyze.obj: diff.h system.h
- cmp.obj: system.h getopt.h
- cmpbuf.obj: system.h cmpbuf.h
- context.obj: diff.h system.h regex.h
- diff.obj: diff.h system.h regex.h getopt.h fnmatch.h
- diff3.obj: system.h getopt.h
- dir.obj: diff.h system.h
- ed.obj: diff.h system.h
- fnmatch.obj: diff.h system.h fnmatch.h
- getopt.obj: diff.h system.h getopt.h
- getopt1.obj: diff.h system.h getopt.h
- ifdef.obj: diff.h system.h
- io.obj: diff.h system.h
- normal.obj: diff.h system.h
- regex.obj: diff.h system.h regex.h
- sdiff.obj: system.h getopt.h
- side.obj: diff.h system.h
- util.obj: diff.h system.h
- version.obj: diff.h system.h
-
- clean:
- rm -f *.obj diff.exe cmp.exe diff3.exe sdiff.exe
-