summaryrefslogtreecommitdiff
path: root/utils/wpseditor/libwps/Makefile
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-09-04 15:19:59 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-09-04 15:19:59 +0000
commit16c9b16ec249693f8dcc9de3ea5bcd93164370c9 (patch)
tree2767f679df7fa331d10cd3c14c955460cd0567b9 /utils/wpseditor/libwps/Makefile
parent561df3827e091c5646648a50b94278843a7554aa (diff)
downloadrockbox-16c9b16ec249693f8dcc9de3ea5bcd93164370c9.zip
rockbox-16c9b16ec249693f8dcc9de3ea5bcd93164370c9.tar.gz
rockbox-16c9b16ec249693f8dcc9de3ea5bcd93164370c9.tar.bz2
rockbox-16c9b16ec249693f8dcc9de3ea5bcd93164370c9.tar.xz
WPS editor:
* Fix some typo's in TODO & README * Fix libwps Makefile in Windows git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18408 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/wpseditor/libwps/Makefile')
-rw-r--r--utils/wpseditor/libwps/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/wpseditor/libwps/Makefile b/utils/wpseditor/libwps/Makefile
index 879cc8e..827a4b4 100644
--- a/utils/wpseditor/libwps/Makefile
+++ b/utils/wpseditor/libwps/Makefile
@@ -11,7 +11,8 @@ ROOT=../../..
ifneq ($or($(findstring MINGW,$(shell uname)),$(findstring Windows_NT,$(OS))),)
OS = w32
CC = mingw32-gcc
- COPY = copy
+ COPY = copy /Y
+ COPY_TO = ..\\gui\\bin
RM = del
EXT = .dll
LDFLAGS = -DBUILD_DLL
@@ -20,7 +21,8 @@ endif
ifeq ($(findstring Linux,$(shell uname)),Linux)
OS = linux
CC = gcc
- COPY = cp
+ COPY = cp -f
+ COPY_TO = ../gui/bin
RM = rm -f
EXT = .so
LDFLAGS = -fPIC
@@ -78,11 +80,11 @@ CFLAGS = -g -Wall -D__PCTOOL__ -DWPSEDITOR -DDEBUG -DROCKBOX_DIR_LEN=1 -DBUTTON_
RESULTS := $(patsubst %,libwps_%$(EXT),$(TARGETS))
all: $(RESULTS)
- @$(COPY) $(RESULTS) ../gui/bin/
libwps_%$(EXT): $(SOURCES)
@echo CC [$(subst libwps_,,$(subst $(EXT),,$@))]
@$(CC) $(INCLUDE) $(CFLAGS) -D$(subst libwps_,,$(subst $(EXT),,$@)) $(LDFLAGS) -shared -o $@ $+
+ @$(COPY) $@ $(COPY_TO)
clean:
$(RM) $(RESULTS)