From bfbf55700091bb6084b3cbe151a762816db0e3f0 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Wed, 11 Apr 2012 03:12:40 +0200 Subject: initial import --- IMdkit/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 IMdkit/Makefile (limited to 'IMdkit/Makefile') diff --git a/IMdkit/Makefile b/IMdkit/Makefile new file mode 100644 index 0000000..dccafb1 --- /dev/null +++ b/IMdkit/Makefile @@ -0,0 +1,23 @@ +CFLAGS?=-g -O0 -Wall +LDFLAGS?=-Wl,-O1 + +XIMDKIT_TARGET:=libIMdkit.a + +XIMDKIT_OBJS:=FrameMgr.o IMConn.o IMMethod.o IMValues.o \ + i18nAttr.o i18nClbk.o i18nIc.o i18nIMProto.o i18nMethod.o i18nPtHdr.o i18nUtil.o i18nX.o +XIMDKIT_PKGCONFIG:=x11 +XIMDKIT_CFLAGS:=$(shell pkg-config --cflags $(XIMDKIT_PKGCONFIG)) -std=c99 + +all: $(XIMDKIT_TARGET) + +$(XIMDKIT_TARGET): $(XIMDKIT_OBJS) + ar rcs $@ $^ + +$(XIMDKIT_OBJS): %.o: %.c + $(CC) $(XIMDKIT_CFLAGS) $(CFLAGS) -o $@ -c $< + +clean: + rm -f $(XIMDKIT_TARGET) *.o + +.PHONY: all clean + -- cgit v1.2.3