aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormusil <tmusil@users.sourceforge.net>2006-12-04 10:38:17 +0000
committermusil <tmusil@users.sourceforge.net>2006-12-04 10:38:17 +0000
commit88c25d6b1484aab46576d4e42bd78e93dfd7163c (patch)
treefa2bc49e56b313dcc5b90c46bfa77ed111776287
parent955c86ee3c273d8c2486927ba0319bbcd4eff4ce (diff)
makefile mv $(TARGET) ..
svn path=/trunk/externals/iem/iem_tab/; revision=6608
-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 cb8b982..0291159 100644
--- a/src/makefile
+++ b/src/makefile
@@ -68,13 +68,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 cb8b982..0291159 100644
--- a/src/makefile_linux
+++ b/src/makefile_linux
@@ -68,13 +68,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 69ed0a1..0585aa8 100644
--- a/src/makefile_win
+++ b/src/makefile_win
@@ -1,5 +1,5 @@
-all: iem_tab.dll
+all: ..\iem_tab.dll
VIS_CPP_PATH = "C:\Programme\Microsoft Visual Studio\Vc98"
@@ -67,9 +67,9 @@ OBJ = $(SRC:.c=.obj)
.c.obj:
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
-iem_tab.dll: $(OBJ)
+..\iem_tab.dll: $(OBJ)
link $(PD_WIN_L_FLAGS) /dll /export:iem_tab_setup \
- /out:iem_tab.dll $(OBJ) $(PD_WIN_LIB)
+ /out:..\iem_tab.dll $(OBJ) $(PD_WIN_LIB)
clean:
del *.obj