(Illustration by Gaich Muramatsu)
> But it works better using the -activebuildstyle flag.
>> sudo xcodebuild install
I've switched over to using only emacs for editing and compiling.
Here is the Makefile for my kext:
TARGET = beet TARGET_BUILD_DIR = /tmp/$(TARGET).dst/System/Library/Extensions KEXTLOAD_FLAGS = FILTER = grep -v -e "^ setenv " # FILTER = cat XCODE = xcodebuild -activebuildstyle all: $(XCODE) build 2>&1 | $(FILTER) install: $(XCODE) install 2>&1 | $(FILTER) clean: $(XCODE) clean 2>&1 | $(FILTER) test: @sync ( cd $(TARGET_BUILD_DIR); kextload $(KEXTLOAD_FLAGS) $(TARGET).kext ) unload: @sync ( cd $(TARGET_BUILD_DIR); kextunload $(TARGET).kext )
I guess you can easily adopt it for DarwinCoda.
--Pekka