aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2019-12-10 23:41:07 -0700
committerkatherine <ageha@airen-no-jikken.icu>2019-12-10 23:41:07 -0700
commit7b05b87577dea4565264c64f45b31e931067dd37 (patch)
tree52d008a833c2ff8d2cef22526264ac9d4f879977
parent47b6e46d9bba6835018bdf7432ea742eaca45a03 (diff)
downloadevery-7b05b87577dea4565264c64f45b31e931067dd37.tar.gz
update makefile
-rw-r--r--Makefile26
m---------reqs/simple-xdg-bdirs0
2 files changed, 11 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index 1f49a2d..69ad4ef 100644
--- a/Makefile
+++ b/Makefile
@@ -16,11 +16,11 @@ install: all
cp -f every $(DESTDIR)$(PREFIX)/bin
gzip < every.1 > $(DESTDIR)$(PREFIX)/share/man/man1/every.1.gz
-every: build/release build/release/calendar.o build/release/conf.o build/release/main.o build/release/opt.o
- $(CC) $(LDFLAGS) -o every build/release/calendar.o build/release/conf.o build/release/main.o build/release/opt.o $(LDLIBS)
+every: build/release build/release/calendar.o build/release/opt.o build/release/main.o
+ $(CC) $(LDFLAGS) -o every build/release/calendar.o build/release/opt.o build/release/main.o $(LDLIBS)
-dbg_every: build/debug build/debug/calendar.o build/debug/conf.o build/debug/main.o build/debug/opt.o
- $(CC) $(LDFLAGS) -o dbg_every build/debug/calendar.o build/debug/conf.o build/debug/main.o build/debug/opt.o $(LDLIBS)
+dbg_every: build/debug build/debug/calendar.o build/debug/opt.o build/debug/main.o
+ $(CC) $(LDFLAGS) -o dbg_every build/debug/calendar.o build/debug/opt.o build/debug/main.o $(LDLIBS)
build/release:
mkdir -p build/release
@@ -32,30 +32,26 @@ src/version.h:
printf "%s\n%s\n\n%s%s%s\n\n%s\n" \
"#ifndef EVERY_VERSION_H" \
"#define EVERY_VERSION_H" \
- "#define VERSION \"every-" "8cb7ab5" "\"" \
+ "#define VERSION \"every-" "47b6e46" "\"" \
"#endif" > src/version.h
build/release/calendar.o: src/calendar.c
$(CC) -c $(CFLAGS) -o build/release/calendar.o src/calendar.c
-build/release/conf.o: src/conf.c
- $(CC) -c $(CFLAGS) -o build/release/conf.o src/conf.c
-build/release/main.o: src/main.c src/opt.h \
- src/../reqs/simple-xdg-bdirs/simple-xdg-bdirs.h
- $(CC) -c $(CFLAGS) -o build/release/main.o src/main.c
build/release/opt.o: src/opt.c src/version.h src/opt.h \
src/../reqs/simple-opt/simple-opt.h
$(CC) -c $(CFLAGS) -o build/release/opt.o src/opt.c
+build/release/main.o: src/main.c src/opt.h \
+ src/../reqs/simple-xdg-bdirs/simple-xdg-bdirs.h
+ $(CC) -c $(CFLAGS) -o build/release/main.o src/main.c
build/debug/calendar.o: src/calendar.c
$(CC) -c $(CFLAGSDEBUG) -o build/debug/calendar.o src/calendar.c
-build/debug/conf.o: src/conf.c
- $(CC) -c $(CFLAGSDEBUG) -o build/debug/conf.o src/conf.c
-build/debug/main.o: src/main.c src/opt.h \
- src/../reqs/simple-xdg-bdirs/simple-xdg-bdirs.h
- $(CC) -c $(CFLAGSDEBUG) -o build/debug/main.o src/main.c
build/debug/opt.o: src/opt.c src/version.h src/opt.h \
src/../reqs/simple-opt/simple-opt.h
$(CC) -c $(CFLAGSDEBUG) -o build/debug/opt.o src/opt.c
+build/debug/main.o: src/main.c src/opt.h \
+ src/../reqs/simple-xdg-bdirs/simple-xdg-bdirs.h
+ $(CC) -c $(CFLAGSDEBUG) -o build/debug/main.o src/main.c
clean:
rm -f src/version.h
diff --git a/reqs/simple-xdg-bdirs b/reqs/simple-xdg-bdirs
-Subproject 9eadeef96ff35f12f2a44085e84d42d93c53c02
+Subproject cabda1be1f41ff9a1313aa99bdf7861d5742a01