aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-17 18:14:42 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-17 18:14:42 +0200
commit9f46f4559625d62bd8d289e9ac75dc6369d7e7ed (patch)
tree4342a73e97ba98504a806645aea81de1336b862d /Makefile
parentStarting the main program, bus error somehow (diff)
downloadlowbat-bsd-9f46f4559625d62bd8d289e9ac75dc6369d7e7ed.tar.gz
lowbat-bsd-9f46f4559625d62bd8d289e9ac75dc6369d7e7ed.tar.bz2
lowbat-bsd-9f46f4559625d62bd8d289e9ac75dc6369d7e7ed.tar.xz
lowbat-bsd-9f46f4559625d62bd8d289e9ac75dc6369d7e7ed.tar.zst
lowbat-bsd-9f46f4559625d62bd8d289e9ac75dc6369d7e7ed.zip
Still bus error, it's not willing to print
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c0aae9a..e4a5f76 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@ C_SRCS += ${C_SRCS_DIR}/jo_n_notify.c
C_OBJS = ${C_SRCS:.c=.o}
# -------------------------------------------------------------------------------------- #
A_SRCS = ${A_SRCS_DIR}/jo_r_lowbat.asm
+A_SRCS += ${A_SRCS_DIR}/jo_c_args.asm
A_SRCS += ${A_SRCS_DIR}/jo_f_status.asm
A_SRCS += ${A_SRCS_DIR}/jo_f_percent.asm
# -------------------------------------------------------------------------------------- #
@@ -89,7 +90,9 @@ depend:
${SED} 's/^/${C_SRCS_DIR}\//' .depend > .depend.tmp
${MV} .depend.tmp .depend
# -------------------------------------------------------------------------------------- #
-all: depend ${TARGET}
+all:
+ ${MAKE} depend
+ ${MAKE} ${TARGET}
# -------------------------------------------------------------------------------------- #
clean:
${RM} ${C_OBJS} ${A_OBJS} ${TARGET}.core .depend .depend.tmp ${TARGET}