aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormusil <tmusil@users.sourceforge.net>2006-11-30 10:50:50 +0000
committermusil <tmusil@users.sourceforge.net>2006-11-30 10:50:50 +0000
commitf08611d5ab9d3c3d3594c2360558977ae09f7bd6 (patch)
tree160c6a73d275d05dacaac601360df41d1c0ff5d3
parentf2f2226292040ce350d5e66ba22c1bc29e6bba2c (diff)
change target in makefile
svn path=/trunk/externals/iem/iem_ambi/; revision=6538
-rw-r--r--src/makefile3
-rw-r--r--src/makefile_linux3
-rw-r--r--src/makefile_win6
3 files changed, 7 insertions, 5 deletions
diff --git a/src/makefile b/src/makefile
index d250fe9..da6bd46 100644
--- a/src/makefile
+++ b/src/makefile
@@ -35,13 +35,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_linux b/src/makefile_linux
index d250fe9..da6bd46 100644
--- a/src/makefile_linux
+++ b/src/makefile_linux
@@ -35,13 +35,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 4293ecf..f51e666 100644
--- a/src/makefile_win
+++ b/src/makefile_win
@@ -1,5 +1,5 @@
-all: iem_ambi.dll
+all: ..\iem_ambi.dll
VIS_CPP_PATH = "C:\Programme\Microsoft Visual Studio\Vc98"
@@ -34,9 +34,9 @@ OBJ = $(SRC:.c=.obj)
.c.obj:
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
-iem_ambi.dll: $(OBJ)
+..\iem_ambi.dll: $(OBJ)
link $(PD_WIN_L_FLAGS) /dll /export:iem_ambi_setup \
- /out:iem_ambi.dll $(OBJ) $(PD_WIN_LIB)
+ /out:..\iem_ambi.dll $(OBJ) $(PD_WIN_LIB)
clean:
del *.obj