aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-17 17:15:51 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-17 17:15:51 +0200
commitd78062b1643006c59e325d4821361e56d9bd3b71 (patch)
tree79b233e0ab801b7bb9d64be526157d27b7abe301 /Makefile
parentUsing libespeak and libnotify (diff)
downloadlowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.tar.gz
lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.tar.bz2
lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.tar.xz
lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.tar.zst
lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.zip
Starting the main program, bus error somehow
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9c092ba..c0aae9a 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,8 @@ C_SRCS += ${C_SRCS_DIR}/jo_n_notify.c
# -------------------------------------------------------------------------------------- #
C_OBJS = ${C_SRCS:.c=.o}
# -------------------------------------------------------------------------------------- #
-A_SRCS = ${A_SRCS_DIR}/jo_f_status.asm
+A_SRCS = ${A_SRCS_DIR}/jo_r_lowbat.asm
+A_SRCS += ${A_SRCS_DIR}/jo_f_status.asm
A_SRCS += ${A_SRCS_DIR}/jo_f_percent.asm
# -------------------------------------------------------------------------------------- #
A_OBJS = ${A_SRCS:.asm=.o}
@@ -53,6 +54,7 @@ CINCS += -I/usr/local/lib/glib-2.0/include
CINCS += -I/usr/local/include/gdk-pixbuf-2.0
# -------------------------------------------------------------------------------------- #
LINK = -L/usr/local/lib
+LINK += -L/usr/lib
LINK += -lnotify
LINK += -lespeak
LINK += -lc
@@ -80,7 +82,7 @@ SED = sed
${CC} -c ${CFLAGS} ${CINCS} -o ${.TARGET} ${.IMPSRC}
# -------------------------------------------------------------------------------------- #
${TARGET}: ${A_OBJS} ${C_OBJS}
- ${CC} ${CFLAGS} ${CINCS} -o ${.TARGET} ${.ALLSRC} ${LINK}
+ ${CC} ${CFLAGS} ${CINCS} -o ${.TARGET} ${A_OBJS} ${C_OBJS} ${LINK}
# -------------------------------------------------------------------------------------- #
depend:
${CC} ${CINCS} -E -MM ${C_SRCS} > .depend