afify / azan (public) (License: MIT) (since 2020-03-08) (hash sha1)
azan is a simple muslim prayers notifier for unix-like systems.
List of commits:
Subject Hash Author Date (UTC)
[feat] Edit Makefile f41f74a524feb96228eb35a77a336862d5ca958c Hassan Afify 2019-09-19 05:04:00
[feat] Self Calcutation 1be712f454adda33c8a182a4478a3abf5dba6745 Hassan Afify 2019-09-17 08:11:15
[init] Initial Commit 2654768d0412e07cf7aa4b78a41b125aeceab82e Hassan Afify 2019-09-04 01:44:23
Commit f41f74a524feb96228eb35a77a336862d5ca958c - [feat] Edit Makefile
- add automatic varibles (easy small)
- add tcc options
- create obj files (complie changed src only)
Author: Hassan Afify
Author date (UTC): 2019-09-19 05:04
Committer name: Hassan Afify
Committer date (UTC): 2019-09-19 05:04
Parent(s): 1be712f454adda33c8a182a4478a3abf5dba6745
Signing key: 0F6CD1196B2A5658
Tree: 5751b2b33df977286f69acd8e927a94c9a7ff156
File Lines added Lines deleted
Makefile 20 19
File Makefile changed (mode: 100644) (index 718f9ed..5869e41)
1 1 # azan # azan
2 2 # See LICENSE file for copyright and license details. # See LICENSE file for copyright and license details.
3 # .POSIX:
4 # SRC = drw.c dwm.c util.c
5 # OBJ = ${SRC:.c=.o}
6 3
7 4 SRC = azan.c SRC = azan.c
8 CC = gcc
9 TARGET= azan
10 STD= -std=c99
11 WARN= -Wall -Wextra -pedantic
5 OBJ = ${SRC:.c=.o}
6 TARGET = azan
7 CC = tcc
8 STD = -std=c99
9 WARN = -bench -Wall -Werror -Wunusupported -Wwrite-strings
12 10 CFLAGS = ${STD} ${WARN} CFLAGS = ${STD} ${WARN}
13 LIBS= -lm -ljson-c
11 LIBS = -lm
14 12
15 all:
16 $(CC) $(SRC) $(CFLAGS) -o $(TARGET) $(LIBS)
13 all: $(OBJ)
14 $(CC) $(CFLAGS) $(OBJ) $(LIBS) -o $(TARGET)
17 15
18 clean:
19 rm $(TARGET) /tmp/azan_*
16 %.o: %.c
17 $(CC) $(CFLAGS) -c $^
18
19 install: $(TARGET)
20 cp -f $^ /bin
21 chmod 755 /bin/$^
20 22
21 install: azan
22 cp -f azan /bin
23 chmod 755 /bin/azan
23 clean:
24 rm *.o $(TARGET)
24 25
25 26 uninstall: uninstall:
26 rm -f /bin/azan
27 rm -f /bin/$(TARGET)
27 28
28 splint:
29 splint $(SRC)
29 splint: azan.c
30 splint $(SRC) > splint.log
30 31
31 .PHONY: all clean install uninstall
32 .PHONY: all clean install uninstall splint
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/afify/azan

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/afify/azan

Clone this repository using git:
git clone git://git.rocketgit.com/user/afify/azan

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main