aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormusil <tmusil@users.sourceforge.net>2006-11-30 10:56:13 +0000
committermusil <tmusil@users.sourceforge.net>2006-11-30 10:56:13 +0000
commit67c4b259c3180bffabfeb2edc656428b3f5714a7 (patch)
tree036754a8b38dad3cf057accf55fa7b38d31f7064
parentdda182c3ed3180554627f99b5971b674a96373c3 (diff)
change target in makefile
svn path=/trunk/externals/iem/iem_bin_ambi/; revision=6539
-rw-r--r--src/makefile_linux3
-rw-r--r--src/makefile_win6
2 files changed, 5 insertions, 4 deletions
diff --git a/src/makefile_linux b/src/makefile_linux
index 3ba0ff9..80b5f0f 100644
--- a/src/makefile_linux
+++ b/src/makefile_linux
@@ -36,13 +36,14 @@ OBJ = $(SRC:.c=.o)
#
clean:
- rm $(TARGET)
+ rm ..\$(TARGET)
rm *.o
all: $(OBJ)
@echo :: $(OBJ)
$(LD) $(LDFLAGS) -o $(TARGET) *.o $(LIB)
strip --strip-unneeded $(TARGET)
+ mv $(TARGET) ..
$(OBJ) : %.o : %.c
$(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c
diff --git a/src/makefile_win b/src/makefile_win
index 80f6286..743d2f3 100644
--- a/src/makefile_win
+++ b/src/makefile_win
@@ -1,5 +1,5 @@
-all: iem_bin_ambi.dll
+all: ..\iem_bin_ambi.dll
VIS_CPP_PATH = "C:\Programme\Microsoft Visual Studio\Vc98"
@@ -35,9 +35,9 @@ OBJ = $(SRC:.c=.obj)
.c.obj:
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
-iem_bin_ambi.dll: $(OBJ)
+..\iem_bin_ambi.dll: $(OBJ)
link $(PD_WIN_L_FLAGS) /dll /export:iem_bin_ambi_setup \
- /out:iem_bin_ambi.dll $(OBJ) $(PD_WIN_LIB)
+ /out:..\iem_bin_ambi.dll $(OBJ) $(PD_WIN_LIB)
clean:
del *.obj