aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iem_mp3/src/makefile_win14
-rw-r--r--iem_t3_lib/src/makefile_win14
-rw-r--r--iemlib1/src/makefile_win14
-rw-r--r--iemlib2/src/makefile_win14
4 files changed, 31 insertions, 25 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
diff --git a/iem_t3_lib/src/makefile_win b/iem_t3_lib/src/makefile_win
index f8856d9..213b9e7 100644
--- a/iem_t3_lib/src/makefile_win
+++ b/iem_t3_lib/src/makefile_win
@@ -1,7 +1,9 @@
-all: ..\iem_t3_lib.dll
+TARGET = iem_t3_lib
+
+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
@@ -21,16 +23,16 @@ SRC = t3_bpe.c \
t3_metro.c \
t3_sig~.c \
t3_timer.c \
- iem_t3_lib.c
+ $(TARGET).c
OBJ = $(SRC:.c=.obj)
.c.obj:
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
-..\iem_t3_lib.dll: $(OBJ)
- link $(PD_WIN_L_FLAGS) /dll /export:iem_t3_lib_setup \
- /out:..\iem_t3_lib.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
diff --git a/iemlib1/src/makefile_win b/iemlib1/src/makefile_win
index fa89f45..2e5cb7c 100644
--- a/iemlib1/src/makefile_win
+++ b/iemlib1/src/makefile_win
@@ -1,7 +1,9 @@
-all: ..\iemlib1.dll
+TARGET = iemlib1
+
+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
@@ -39,7 +41,7 @@ SRC = biquad_freq_resp.c \
split.c \
v2db.c \
vcf_filter~.c \
- iemlib1.c
+ $(TARGET).c
OBJ = $(SRC:.c=.obj)
@@ -47,9 +49,9 @@ OBJ = $(SRC:.c=.obj)
.c.obj:
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
-..\iemlib1.dll: $(OBJ)
- link $(PD_WIN_L_FLAGS) /dll /export:iemlib1_setup \
- /out:..\iemlib1.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
diff --git a/iemlib2/src/makefile_win b/iemlib2/src/makefile_win
index f07fa7a..c54111f 100644
--- a/iemlib2/src/makefile_win
+++ b/iemlib2/src/makefile_win
@@ -1,8 +1,8 @@
-
-all: ..\iemlib2.dll
+TARGET = iemlib2
+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
@@ -53,16 +53,16 @@ SRC = add2_comma.c \
transf_fader.c \
unsymbol.c \
wrap.c \
- iemlib2.c
+ $(TARGET).c
OBJ = $(SRC:.c=.obj)
.c.obj:
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
-..\iemlib2.dll: $(OBJ)
- link $(PD_WIN_L_FLAGS) /dll /export:iemlib2_setup \
- /out:..\iemlib2.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