Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » How can I do with theide use -framework ApplicationServices in mac osx
How can I do with theide use -framework ApplicationServices in mac osx [message #45781] Mon, 04 January 2016 02:29 Go to previous message
charlie is currently offline  charlie
Messages: 2
Registered: September 2015
Junior Member
In My code :

#include <ApplicationServices/ApplicationServices.h>
....

and link like this:

clang -o xxx xxx.o -framework ApplicationServices

Tell me please, How can I do with theide .
How can I fill in the "Build Methods" form. Thanks.


Makefile:

BIN = keystrokes

SRCS = $(wildcard *.c)
OBJS = $(SRCS:.c=.o)
CC=clang
LD=clang

CFLAGS += -pedantic -Weverything
LIBS += -framework ApplicationServices

all: $(BIN)

$(BIN): $(OBJS)
$(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)

clean:
rm -f $(BIN) $(OBJS)
  • Attachment: keystrokes.c
    (Size: 2.80KB, Downloaded 384 times)
 
Read Message
Read Message
Previous Topic: if you want to build theide 8227 for X11 on Mavericks - works now!
Next Topic: Status of MAC porting
Goto Forum:
  


Current Time: Sun Apr 28 23:13:59 CEST 2024

Total time taken to generate the page: 0.03812 seconds