diff options
Diffstat (limited to 'iemlib2/src/makefile_win')
-rw-r--r-- | iemlib2/src/makefile_win | 14 |
1 files changed, 7 insertions, 7 deletions
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 |