aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-11-16 11:54:53 +0100
committerDan Gudmundsson <[email protected]>2012-12-13 13:00:44 +0100
commit54933c352a9e8fd29f38f72487394d8f6fa7a2b7 (patch)
tree6bc8d6d0b108d43fbad673ed7afa505b6b160855 /lib/wx/c_src
parentb5d0403d8fedd8ca741b3c0a6ea684e72a494394 (diff)
downloadotp-54933c352a9e8fd29f38f72487394d8f6fa7a2b7.tar.gz
otp-54933c352a9e8fd29f38f72487394d8f6fa7a2b7.tar.bz2
otp-54933c352a9e8fd29f38f72487394d8f6fa7a2b7.zip
wx: Build targets to platform subdirs
And add code so wx can be run from src tree during development.
Diffstat (limited to 'lib/wx/c_src')
-rw-r--r--lib/wx/c_src/Makefile.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/wx/c_src/Makefile.in b/lib/wx/c_src/Makefile.in
index 1497ac4d16..1d17076d23 100644
--- a/lib/wx/c_src/Makefile.in
+++ b/lib/wx/c_src/Makefile.in
@@ -71,8 +71,7 @@ WX_OBJECTS = $(GENERAL_O) $(GENERATED_O) $(RC_FILE)
OBJECTS = $(WX_OBJECTS) $(GL_OBJECTS)
-TARGET_APIS = wxe_driver erl_gl
-TARGET_DIR = ../priv
+TARGET_DIR = ../priv/$(SYS_TYPE)
# -O2 -funroll-loops -ffast-math -fomit-frame-pointer
@@ -121,7 +120,7 @@ debug:
clean:
rm -f $(OBJECTS)
- rm -f ../priv/$(TARGET_DIR)/$(TARGET_API)$(SO_EXT)
+ rm -f $(TARGET_DIR)/*$(SO_EXT)
rm -f *~ erl_crash.dump
complete_clean: