aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2018-05-07 13:16:21 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2018-05-07 13:16:21 -0400
commit52df008c7d6205a9fa38d926d0435d684d88924e (patch)
treeabee2534de3d20d2b6500c05e5cbbe08a079dc1d /src
parent0fc295c5893c5fdb83eb834be35cd26b39f20a0a (diff)
downloadtextadept-52df008c7d6205a9fa38d926d0435d684d88924e.tar.gz
textadept-52df008c7d6205a9fa38d926d0435d684d88924e.zip
Prefix cdk build objects in order to prevent clashes on icase filesystems.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index 8c57b132..ffac47e6 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -136,9 +136,11 @@ gtdialog_objs = gtdialog.o gtdialog-curses.o
termkey_unix_objs = driver-ti.o driver-csi.o
termkey_win32_objs = driver-win32-pdcurses.o
termkey_objs = termkey.o $(termkey_unix_objs) $(termkey_win32_objs)
-cdk_objs = binding.o buttonbox.o cdk.o cdk_display.o cdk_objs.o cdkscreen.o \
- draw.o entry.o fselect.o itemlist.o label.o mentry.o popup_label.o \
- scroll.o scroller.o select_file.o selection.o traverse.o version.o
+cdk_objs = $(addprefix cdk-, binding.o buttonbox.o cdk.o cdk_display.o \
+ cdk_objs.o cdkscreen.o draw.o entry.o fselect.o \
+ itemlist.o label.o mentry.o popup_label.o \
+ scroll.o scroller.o select_file.o selection.o \
+ traverse.o version.o)
# Add debugging symbols and disable optimizations when DEBUG=1.
# Note: In order to profile with gprof (-pg), do not retain symbols in LDFLAGS.
@@ -180,7 +182,7 @@ $(lua_spawn_objs): lua/src/lib/lspawn.c
$(gtdialog_objs): gtdialog/gtdialog.c
$(CROSS)$(CC) -c $(CFLAGS) -std=c99 -pedantic $(plat_flag) -DNOHELP \
-DLIBRARY $(gtdialog_flags) $< -o $@
-$(cdk_objs): %.o: cdk/%.c
+$(cdk_objs): cdk-%.o: cdk/%.c
$(CROSS)$(CC) -c $(CFLAGS) -D_GNU_SOURCE -Itermkey -Icdk $(CURSES_CFLAGS) $< \
-o $@
$(termkey_objs): %.o: termkey/%.c