diff options
author | root <root@nolonger-other.tetra.james.local> | 2020-10-26 22:55:18 +0000 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2020-10-26 23:04:50 +0000 |
commit | b11ae5cf86000bfce35b6ec511014d8f6b04416e (patch) | |
tree | d4f4caf8ecb8b14e62858d46d781af6886eb1b73 /Makefile | |
parent | 62bc1af6c6a1201db551e1ec523e757415464fd5 (diff) | |
download | galaxy_tools-b11ae5cf86000bfce35b6ec511014d8f6b04416e.tar.gz galaxy_tools-b11ae5cf86000bfce35b6ec511014d8f6b04416e.tar.bz2 galaxy_tools-b11ae5cf86000bfce35b6ec511014d8f6b04416e.zip |
add keypad
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1,14 +1,22 @@ -CFLAGS=-Wall +CFLAGS=-Wall ${CURSES_CFLAGS} +CURSES_CFLAGS=$(shell pkg-config --cflags ncurses) +CURSES_LIBS=$(shell pkg-config --libs ncurses) -all: net_rx net_arm serial_rx serial_arm +all: net_rx net_arm serial_rx serial_arm serial_keypad net_keypad net_rx:util.o sia.o net_rx.o net_arm:util.o sia.o net_arm.o arm.c serial_rx:util.o sia.o serial_rx.o serial_arm:util.o sia.o serial_arm.o arm.c +serial_keypad:util.o keypad.o serial_keypad.o + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${CURSES_LIBS} ${LIBS} + +net_keypad:util.o keypad.o net_keypad.o + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${CURSES_LIBS} ${LIBS} + tidy: - astyle -A3 -s2 --attach-extern-c -L -c -w -Y -m0 -f -p -H -U -k3 -xj -xd sia.c sia.h util.c util.h serial_rx.c net_rx.c serial_arm.c net_arm.c arm.c + astyle -A3 -s2 --attach-extern-c -L -c -w -Y -m0 -f -p -H -U -k3 -xj -xd sia.c sia.h util.c util.h serial_rx.c net_rx.c serial_arm.c net_arm.c arm.c keypad.c net_keypad.c serial_keypad.c clean: /bin/rm -f *.o |