ide/FindInFiles: Fixed ridiculous stack usage causing bus errors on OS X
[sdk] / ide / Makefile
index 228e38d..7377d01 100644 (file)
@@ -2,7 +2,7 @@
 
 # CORE VARIABLES
 
-MODULE := ide
+MODULE := ecere-ide
 VERSION := 
 CONFIG := release
 ifndef COMPILER
@@ -42,7 +42,7 @@ OBJ = obj/$(CONFIG).$(PLATFORM)$(COMPILER_SUFFIX)$(DEBUG_SUFFIX)/
 
 RES = res/
 
-TARGET = obj/$(CONFIG).$(PLATFORM)$(COMPILER_SUFFIX)$(DEBUG_SUFFIX)/ide$(E)
+TARGET = obj/$(CONFIG).$(PLATFORM)$(COMPILER_SUFFIX)$(DEBUG_SUFFIX)/ecere-ide$(E)
 
 _ECSOURCES = \
        ../extras/FileSystemIterator.ec \
@@ -212,7 +212,8 @@ PRJ_CFLAGS += \
         $(if $(DEBUG), -g, -O2 -ffast-math) $(FPIC) -w \
                         $(FVISIBILITY) \
                         -DREPOSITORY_VERSION="\"$(REPOSITORY_VER)\"" \
-                        -I../extras/include
+                        -I../extras/include \
+                        -DECERE_IDE
 
 ECFLAGS += -module $(MODULE)
 ECFLAGS += \
@@ -738,5 +739,9 @@ endif
 realclean: cleantarget
        $(call rmr,$(OBJ))
 
-distclean: cleantarget
-       $(call rmr,obj/)
+distclean:
+       $(_MAKE) -f $(_CF_DIR)Cleanfile distclean distclean_all_subdirs
+
+Makefile: ;
+$(_CF_DIR)crossplatform.mk: ;
+$(_CF_DIR)default.cf: ;