aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-12-19 15:43:38 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2013-12-19 15:43:38 -0500
commit889ef6ada4e2273942880c05fef7404937210c82 (patch)
tree507da91dca51d28d0f486f7ebaa8efa979211120 /src/Makefile
parente0ed19fc96513e376c3e2f49f0e0ac278465d143 (diff)
downloadtextadept-889ef6ada4e2273942880c05fef7404937210c82.tar.gz
textadept-889ef6ada4e2273942880c05fef7404937210c82.zip
Export TermKey instance so CDK can use it for input.
This eliminates the problems caused by libtermkey and CDK having separate input buffers.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 3d90ed9c..5e25c03e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -265,7 +265,8 @@ gtdialog-curses.o: gtdialog/gtdialog.c
$(CROSS)$(CC) -c $(CFLAGS) -DCURSES -DNOHELP -DLIBRARY -Icdk \
$(CURSES_CFLAGS) $< -o $@
$(cdk_objs): %.o: cdk/%.c
- $(CROSS)$(CC) -c $(CFLAGS) -D_GNU_SOURCE -Icdk $(CURSES_CFLAGS) $< -o $@
+ $(CROSS)$(CC) -c $(CFLAGS) -D_GNU_SOURCE -Itermkey -Icdk $(CURSES_CFLAGS) $< \
+ -o $@
$(termkey_objs): %.o: termkey/%.c ; $(CROSS)$(CC) -c $(CFLAGS) -std=c99 $< -o $@
textadept_rc.o: textadept.rc ; $(CROSS)$(WINDRES) $< $@