summaryrefslogtreecommitdiff
path: root/src/plugin_common
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2002-11-22 07:50:26 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2002-11-22 07:50:26 +0000
commitfcc7a6884d0f2593a28526a2f57173c8ba33eadd (patch)
tree9b3531f769f37fdffe61bcf6963937f262f8cd33 /src/plugin_common
parentdfdc818a50ef3be3e046a9b736ccf35d62967a54 (diff)
downloadflac-fcc7a6884d0f2593a28526a2f57173c8ba33eadd.tar.gz
get Makefile.vc system working again with new debug/release dirs and static/dynamic targets
Diffstat (limited to 'src/plugin_common')
-rw-r--r--src/plugin_common/Makefile.vc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugin_common/Makefile.vc b/src/plugin_common/Makefile.vc
index 93070ed4..dc081c80 100644
--- a/src/plugin_common/Makefile.vc
+++ b/src/plugin_common/Makefile.vc
@@ -2,10 +2,10 @@
!IFDEF DEBUG
.c.obj:
- $(cc) /D "_LIB" /GX $(cdebug) $(cflags) /I ".\include" /I "..\..\include" -DSTRICT -YX /Od /D "_DEBUG" $<
+ $(cc) /D "_LIB" /GX $(cdebug) $(cflags) /I ".\include" /I "..\..\include" -DFLAC__NO_DLL -DSTRICT -YX /Od /D "_DEBUG" $<
!else
.c.obj:
- $(cc) /D "_LIB" /O2 $(crelease) $(cflags) /I ".\include" /I "..\..\include" -DSTRICT -YX -DNODEBUG $<
+ $(cc) /D "_LIB" /O2 $(crelease) $(cflags) /I ".\include" /I "..\..\include" -DFLAC__NO_DLL -DSTRICT -YX -DNODEBUG $<
!endif
C_FILES= \
@@ -19,11 +19,11 @@ C_FILES= \
OBJS= $(C_FILES:.c=.obj)
-all: plugin_common.lib
+all: plugin_common_static.lib
-plugin_common.lib: $(OBJS)
- link.exe -lib /nodefaultlib -out:../../obj/lib/$*.lib $(OBJS)
+plugin_common_static.lib: $(OBJS)
+ link.exe -lib /nodefaultlib -out:../../obj/release/lib/$*.lib $(OBJS)
clean:
-del *.obj *.pch
- -del ..\..\obj\lib\plugin_common.lib ..\..\obj\lib\plugin_common.pdb
+ -del ..\..\obj\release\lib\plugin_common_static.lib ..\..\obj\release\lib\plugin_common_static.pdb