Subject | Hash | Author | Date (UTC) |
---|---|---|---|
[fix] testing branch Makefile configuration | b683a683b7c003b333536e6a0a6e5b18fb8ef74d | Hassan Afify | 2019-10-04 14:41:18 |
[style] pointer asterisk position | 684a938929a553d2c54049482e56521ea1d759b7 | Hassan Afify | 2019-10-04 13:32:18 |
[fix] option -a bug | e645d6b8e355187aff53e9d77e717656996be61b | Hassan Afify | 2019-10-02 15:52:10 |
[fix] update config.def.h | d70664ff8899be4120339a2578aeb555100601ab | Hassan Afify | 2019-10-01 19:55:21 |
[refactor] remove azan.h, upgrade functions | 8d457954d6afea2679ad40a0c4874ef967c0f8a2 | Hassan Afify | 2019-10-01 19:13:58 |
[fix] Remove send-notification feature | 982a2f0cdcbae2d5d95b83e1f33cbf19c5fae0f0 | Hassan Afify | 2019-09-30 15:35:55 |
[doc] update README and man page, remove .github | 9f329d7a6433208b32b17b33f17527e306208b5b | Hassan Afify | 2019-09-30 06:39:56 |
Update issue templates | 03092fd9858d1f42bc0c6a06eeed834be3f34c2b | Hassan Afify | 2019-09-28 15:45:11 |
[fix] read cache file function | 93c03a6cd5d7e8b0f83057ea707544727aa3ed49 | Hassan Afify | 2019-09-28 07:46:50 |
[fix] print next fajr bug | 9c2a2bf932fb536c93a78eaaefa0fb8605f57d3e | Hassan Afify | 2019-09-27 04:55:14 |
[fix] check failed stat, clean code, Makefile | 111e4834d9311854fa0af5b075c8534eba646487 | Hassan Afify | 2019-09-26 18:29:57 |
[doc] update README | f5ff97da3e92639d79e1c9cff46ac0995139a3b6 | Hassan Afify | 2019-09-25 18:10:18 |
[release] v0.1 | a1a2a57e74f8af49595253c067ff79de52b533e7 | Hassan Afify | 2019-09-25 06:01:46 |
[fix] [Valgrind] Memory leaks, stack errors. | f06c1192c98f0405b727b9ca4346ed7262476c33 | Hassan Afify | 2019-09-24 16:02:56 |
[fix] create_cache bug, clean Makefile *.log | 7d998c3f864fe07102b3fa07f83ea754159a9927 | Hassan Afify | 2019-09-24 05:38:39 |
[feat] argument options, next_fajr | 4cd6ef1633f3e5cd3afe36be70e9c718911e701d | Hassan Afify | 2019-09-23 09:38:57 |
[doc] Update CONTRIBUTING, README & man page | a16565d0b498313a8df232d3e2f5e7c1367dc191 | Hassan Afify | 2019-09-22 10:23:25 |
[doc] Update CONTRIBUTING, README & man page | 0b978479fbe5d6e626a55a5ac78231393a267025 | Hassan Afify | 2019-09-22 10:23:25 |
[feat] Edit Makefile, Add config.def.h, config.mk | c9e13a7b6dcc00894620f5788c04f4afba0f59d4 | Hassan Afify | 2019-09-21 17:11:34 |
[fix] Replace CODE_STYLE with CONTRIBUTING.md | be2b91ef8d73aea536bc45446808633561d8afd9 | Hassan Afify | 2019-09-21 11:14:30 |
File | Lines added | Lines deleted |
---|---|---|
Makefile | 16 | 3 |
config.mk | 3 | 2 |
File Makefile changed (mode: 100644) (index df2f7dd..b31c090) | |||
... | ... | config.h: | |
18 | 18 | cp config.def.h config.h | cp config.def.h config.h |
19 | 19 | ||
20 | 20 | .c.o: | .c.o: |
21 | $(CC) $(STCFLAGS) -c $< | ||
21 | $(CC) $(STCFLAGS) -g -c $< | ||
22 | 22 | ||
23 | 23 | azan.o: config.h | azan.o: config.h |
24 | 24 | ||
... | ... | azan: $(OBJ) | |
28 | 28 | $(CC) -o $@ $(OBJ) $(STLDFLAGS) | $(CC) -o $@ $(OBJ) $(STLDFLAGS) |
29 | 29 | ||
30 | 30 | clean: | clean: |
31 | rm -f $(OBJ) azan | ||
31 | rm -f $(OBJ) azan *.log ~/.cache/azan/* | ||
32 | 32 | ||
33 | 33 | install: azan | install: azan |
34 | 34 | mkdir -p $(DESTDIR)$(PREFIX)/bin | mkdir -p $(DESTDIR)$(PREFIX)/bin |
... | ... | uninstall: | |
42 | 42 | rm -f $(DESTDIR)$(PREFIX)/bin/azan | rm -f $(DESTDIR)$(PREFIX)/bin/azan |
43 | 43 | rm -f $(DESTDIR)$(MANPREFIX)/man1/azan.1 | rm -f $(DESTDIR)$(MANPREFIX)/man1/azan.1 |
44 | 44 | ||
45 | .PHONY: all clean install uninstall | ||
45 | check: valgrind splint | ||
46 | |||
47 | valgrind: azan | ||
48 | sh /home/hassan/.scripts/valgrind.sh './azan' './azan -a' './azan -v' './azan -h' './azan UnavailableArgument' | ||
49 | # valgrind --log-file=valgrind.log --leak-check=full ./azan | ||
50 | # valgrind --dsymutil=yes --track-origins=yes --log-file=valgrind.log --leak-check=full ./azan | ||
51 | # -v --read-var-info=yes --leak-check=full | ||
52 | |||
53 | splint: azan.c | ||
54 | splint -strict -DVERSION=\"${VERSION}\" $(SRC) > splint_strict.log | ||
55 | splint -check -DVERSION=\"${VERSION}\" $(SRC) > splint_check.log | ||
56 | splint -standard -DVERSION=\"${VERSION}\" $(SRC) > splint_standard.log | ||
57 | |||
58 | .PHONY: all clean install uninstall check splint valgrind |
File config.mk changed (mode: 100644) (index 3e55d28..c9f015f) | |||
... | ... | PKG_CONFIG = pkg-config | |
11 | 11 | ||
12 | 12 | #includes and libs | #includes and libs |
13 | 13 | STD = -std=c99 | STD = -std=c99 |
14 | WARN = -pedantic -Wall -Wno-deprecated-declarations -Os | ||
14 | WARN = -bench -Wall -Werror -Wunusupported -Wwrite-strings -Os | ||
15 | # WARN = -bench -Wall -Werror -Wunusupported -Wwrite-strings | ||
15 | 16 | LIBS = -lm | LIBS = -lm |
16 | 17 | ||
17 | 18 | # flags | # flags |
... | ... | STCFLAGS = $(STD) $(WARN) -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809L | |
19 | 20 | STLDFLAGS= $(LIBS) $(LDFLAGS) | STLDFLAGS= $(LIBS) $(LDFLAGS) |
20 | 21 | ||
21 | 22 | # compiler and linker | # compiler and linker |
22 | CC = cc | ||
23 | CC = tcc |