mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
tweak compiler options
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
!include <win32.mak>
|
||||
|
||||
!IFNDEF NODEBUG
|
||||
.c.obj:
|
||||
$(cc) /GX $(cdebug) $(cflags) $(cvarsdll) /I "..\..\include" /I ".\include" -DSTRICT -YX /Od /D "_DEBUG" $<
|
||||
!else
|
||||
.c.obj:
|
||||
$(cc) $(cdebug) $(cflags) $(cvarsdll) /I "..\..\include" /I ".\include" -DSTRICT -YX -DNODEBUG $<
|
||||
!endif
|
||||
|
||||
C_FILES= \
|
||||
in_flac.c
|
||||
|
||||
OBJS= $(C_FILES:.c=.obj)
|
||||
|
||||
all: in_flac.dll
|
||||
|
||||
in_flac.dll: $(OBJS)
|
||||
link.exe /dll /libpath:"..\..\obj\lib" -out:../../obj/bin/$*.dll $(OBJS) libFLAC.lib user32.lib kernel32.lib
|
||||
|
||||
clean:
|
||||
-del *.obj *.pch
|
||||
-del ..\..\obj\bin\in_flac.*
|
||||
!include <win32.mak>
|
||||
|
||||
!IFDEF DEBUG
|
||||
.c.obj:
|
||||
$(cc) /GX $(cdebug) $(cflags) $(cvarsdll) /I "..\..\include" /I ".\include" -DSTRICT -YX /Od /D "_DEBUG" $<
|
||||
!else
|
||||
.c.obj:
|
||||
$(cc) /O2 $(crelease) $(cflags) $(cvarsdll) /I "..\..\include" /I ".\include" -DSTRICT -YX -DNODEBUG $<
|
||||
!endif
|
||||
|
||||
C_FILES= \
|
||||
in_flac.c
|
||||
|
||||
OBJS= $(C_FILES:.c=.obj)
|
||||
|
||||
all: in_flac.dll
|
||||
|
||||
in_flac.dll: $(OBJS)
|
||||
link.exe /dll /libpath:"..\..\obj\lib" -out:../../obj/bin/$*.dll $(OBJS) libFLAC.lib user32.lib kernel32.lib
|
||||
|
||||
clean:
|
||||
-del *.obj *.pch
|
||||
-del ..\..\obj\bin\in_flac.*
|
||||
|
||||
Reference in New Issue
Block a user