1#
2# nmake makefile for id3tool
3#
4CC=cl.exe
5CFLAGS=/O2 /Ot /GB /QI0f /GF
6VERSION=1.2a
7
8all:	id3tool.exe
9
10OBJS=   id3tool.obj id3.obj bsd_getopt.obj
11LIBS=	setargv.obj
12
13id3tool.exe:    $(OBJS)
14        $(CC) $(CFLAGS) /ML /Fe$@ $(OBJS) $(LIBS)
15
16.c.obj:
17	$(CC) /c $(CFLAGS) /Fo$@ $<
18
19prep:
20        copy config.h.win32 config.h
21        copy id3tool.mak makefile
22
23clean:
24        -del *.obj
25        -del *~
26
27distclean:
28        -del makefile
29        -del config.h
30        -del id3tool.exe
31
32binarydist:	id3tool.exe
33	zip -9 id3tool-$(VERSION)-win32-$(PROCESSOR_ARCHITECTURE).zip COPYING README README.Win32 id3tool.exe
34
35