Files
flac/src/share/Makefile.vc

36 lines
844 B
Makefile
Raw Normal View History

2002-06-01 06:29:30 +00:00
!include <win32.mak>
!IFDEF DEBUG
.c.obj:
$(cc) /D "_LIB" -DFLAC__NO_DLL /GX $(cdebug) $(cflags) /I "..\..\include" /I "..\..\include\share" -DSTRICT -YX /Od /D "_DEBUG" $<
2002-06-01 06:29:30 +00:00
!else
.c.obj:
$(cc) /D "_LIB" -DFLAC__NO_DLL /O2 $(crelease) $(cflags) /I "..\..\include" /I "..\..\include\share" -DSTRICT -YX -DNODEBUG $<
2002-06-01 06:29:30 +00:00
!endif
C_FILES= \
getopt.c \
getopt1.c
2002-08-21 05:27:01 +00:00
UTF8_C_FILES= \
charset.c \
iconvert.c \
utf8.c
2002-06-01 06:29:30 +00:00
OBJS= $(C_FILES:.c=.obj)
2002-08-21 05:27:01 +00:00
UTF8_OBJS= $(UTF8_C_FILES:.c=.obj)
2002-08-14 00:52:00 +00:00
all: getopt.lib utf8.lib
2002-06-01 06:29:30 +00:00
getopt.lib: $(OBJS)
link.exe -lib /nodefaultlib -out:../../obj/lib/$*.lib $(OBJS)
2002-08-14 00:52:00 +00:00
utf8.lib: $(UTF8_OBJS)
link.exe -lib /nodefaultlib -out:../../obj/lib/$*.lib $(UTF8_OBJS)
2002-06-01 06:29:30 +00:00
clean:
-del *.obj *.pch
-del ..\..\obj\lib\getopt.lib ..\..\obj\lib\getopt.pdb
2002-08-14 00:52:00 +00:00
-del ..\..\obj\lib\utf8.lib ..\..\obj\lib\utf8.pdb