diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-31 15:33:30 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 399d90f1b94717aa0ca5abb1dc43bdb6f4160d13 (patch) | |
| tree | 21c954622a23fa606dacfe85552df92f6f195903 /Makefile | |
| parent | 84ad2e3c12cb505e3c5e3dd29d05edb529b82174 (diff) | |
Fairly important bug fixes to lcdlib, LCD now echoes input!
Input polling without line-buffering is done using ncurses, so the
buildroot configuration had to change accordingly to include that
library.
The Makefile changed to accommodate stand-alone building of ct1986 and
to include -lcurses where appropriate. There were also some typos
about copying ct1986 and ctaklm to the correct directories.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -34,13 +34,17 @@ native: clean ctaklm pptdb $(CROSS_CC): ./resources/do_buildroot.sh $(BUILDROOT_DIR) -ct1986: src/ct1986.o include/lcdlib.o $(OBJS) - $(CC) $(CFLAGS) src/ct1986.o $(OBJS) include/lcdlib.o -o ct1986 +ct1986: CC=$(CROSS_CC) +ct1986: STRIP=$(CROSS_STRIP) +ct1986: $(CROSS_CC) clean src/ct1986.o include/lcdlib.o $(OBJS) + $(CC) $(CFLAGS) src/ct1986.o $(OBJS) include/lcdlib.o -o ct1986 -lcurses $(STRIP) ct1986 pi: CC=$(CROSS_CC) pi: STRIP=$(CROSS_STRIP) -pi: $(CROSS_CC) clean ctaklm ct1986 - cp ct1986 ctaklm $(BUILDROOT_DIR)/board/raspberrypi0/rootfs_overlay/ +pi: $(CROSS_CC) ct1986 ctaklm + mkdir -p $(BUILDROOT_DIR)/board/raspberrypi0/rootfs_overlay/usr/bin/ + cp ct1986 ctaklm $(BUILDROOT_DIR)/board/raspberrypi0/rootfs_overlay/usr/bin/ + cp resources/ash-profile $(BUILDROOT_DIR)/board/raspberrypi0/rootfs_overlay/.profile make -C $(BUILDROOT_DIR) $(info Image ready in $(BUILDROOT_DIR)/output/images/sdcard.img) |
