aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-12-04 03:02:43 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-12-04 03:02:43 +0100
commitcaa28b7cd67d82d7e5f279df09b81caa5a330fa0 (patch)
tree21183ee43075ca45f706da1e3047a8183b4256a4 /Makefile
parentRemoved Makefile comments (diff)
downloadlowbat-gnu-caa28b7cd67d82d7e5f279df09b81caa5a330fa0.tar.gz
lowbat-gnu-caa28b7cd67d82d7e5f279df09b81caa5a330fa0.tar.bz2
lowbat-gnu-caa28b7cd67d82d7e5f279df09b81caa5a330fa0.tar.xz
lowbat-gnu-caa28b7cd67d82d7e5f279df09b81caa5a330fa0.tar.zst
lowbat-gnu-caa28b7cd67d82d7e5f279df09b81caa5a330fa0.zip
Removed some Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile73
1 files changed, 0 insertions, 73 deletions
diff --git a/Makefile b/Makefile
index 5df1dc0..c8f611c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,76 +1,3 @@
-.POSIX:
-
-default: all
-
-
-
-SHELL := /bin/sh
-
-
-
-SRCS_DIR = src/
-INCS_DIR = inc/
-OBJS_DIR = obj/
-TRGT_DIR = bin/
-
-
-
-SRCS = ${SRCS_DIR}main.cpp
-SRCS += ${SRCS_DIR}jo_exec.cpp
-SRCS += ${SRCS_DIR}jo_notify.cpp
-
-INCS = jo_lowbat.hpp
-
-OBJS = $(patsubst ${SRCS_DIR}%.cpp,${OBJS_DIR}%.o,${SRCS})
-
-
-
-CC = g++
-
-DEBUG = -g3
-FSANITIZE = -fsanitize=address
-
-OPTIMIZE = -O3
-
-CFLAGS = -Wall
-CFLAGS += -Wextra
-CFLAGS += -Werror
-CFLAGS += ${OPTIMIZE}
-
-NAME = lowbat
-
-
-
-MKDIR = mkdir -p
-RM = rm -rf
-
-OS = $(shell uname -s)
-ifeq ($(OS), Darwin)
- PREFIX = /usr/local
-else
- PREFIX = /usr
-endif
-MANPREFIX = $(PREFIX)/share/man
-
-
-
-${OBJS_DIR}%.o: ${SRCS_DIR}%.cpp ${INCS_DIR}${INCS}
- @${MKDIR} ${OBJS_DIR}
- ${CC} ${CFLAGS} -I${INCS_DIR} -c -o $@ $<
-
-${NAME}: ${OBJS}
- @${MKDIR} ${TRGT_DIR}
- ${CC} ${CFLAGS} -o ${TRGT_DIR}${NAME} ${OBJS}
-
-all: ${NAME}
-
-clean:
- ${RM} ${OBJS_DIR}
-
-fclean: clean
- ${RM} ${TRGT_DIR}
-
-re: fclean all
install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin