aboutsummaryrefslogtreecommitdiff
path: root/iem_mp3/src
diff options
context:
space:
mode:
authormusil <tmusil@users.sourceforge.net>2007-10-24 15:52:05 +0000
committermusil <tmusil@users.sourceforge.net>2007-10-24 15:52:05 +0000
commit2f146dfb942fb1cc551e73c18475f26289c69c67 (patch)
tree8df2ed62cd303f8f9dc19e6e613de98d71d45424 /iem_mp3/src
parent53a4f1cbfa1f823bda469b20250d2e0e76eedb2c (diff)
$(TARGET)
svn path=/trunk/externals/iemlib/; revision=8872
Diffstat (limited to 'iem_mp3/src')
-rw-r--r--iem_mp3/src/makefile_win14
1 files changed, 8 insertions, 6 deletions
diff --git a/iem_mp3/src/makefile_win b/iem_mp3/src/makefile_win
index 7ec5182..542c213 100644
--- a/iem_mp3/src/makefile_win
+++ b/iem_mp3/src/makefile_win
@@ -1,7 +1,9 @@
-all: ..\iem_mp3.dll
+TARGET = iem_mp3
+
+all: ..\$(TARGET).dll
VIS_CPP_PATH = "C:\Programme\Microsoft Visual Studio\Vc98"
-PD_INST_PATH = "C:\Programme\pd-0.39-2"
+PD_INST_PATH = "C:\Programme\pd"
PD_WIN_INCLUDE_PATH = /I. /I$(PD_INST_PATH)\src /I$(VIS_CPP_PATH)\include
PD_WIN_C_FLAGS = /nologo /W3 /WX /DMSW /DNT /DPD /DWIN32 /DWINDOWS /Ox -DPA_LITTLE_ENDIAN
PD_WIN_L_FLAGS = /nologo
@@ -16,16 +18,16 @@ PD_WIN_LIB = /NODEFAULTLIB:libc /NODEFAULTLIB:oldnames /NODEFAULTLIB:kernel /NOD
$(PD_INST_PATH)\bin\pd.lib
SRC = mp3play~.c \
- iem_mp3.c
+ $(TARGET).c
OBJ = $(SRC:.c=.obj)
.c.obj:
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
-..\iem_mp3.dll: $(OBJ)
- link $(PD_WIN_L_FLAGS) /dll /export:iem_mp3_setup \
- /out:..\iem_mp3.dll $(OBJ) $(PD_WIN_LIB)
+..\$(TARGET).dll: $(OBJ)
+ link $(PD_WIN_L_FLAGS) /dll /export:$(TARGET)_setup \
+ /out:..\$(TARGET).dll $(OBJ) $(PD_WIN_LIB)
clean:
del *.obj