Skip to content

Commit 7ec5e1e

Browse files
committedSep 12, 2024
feat: add srcstats program
Signed-off-by: Ar Rakin <[email protected]>
1 parent 0f7dfe4 commit 7ec5e1e

File tree

6 files changed

+828
-0
lines changed

6 files changed

+828
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ include/
77
plibc/
88
uar/
99
freehttpd/
10+
*.o

‎Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
all:
2+
$(MAKE) -C srcproc
3+
4+
clean:
5+
$(MAKE) -C srcproc clean

‎config.h

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#ifndef AC_CONFIG_H
2+
#define AC_CONFIG_H
3+
4+
#define PACKAGE_BUGREPORT "commons@onesoftnet.eu.org"
5+
#define PACKAGE_NAME "commons"
6+
#define PACKAGE_VERSION "1.0.0"
7+
#define PACKAGE_FULLNAME "OSN Commons"
8+
9+
#endif

‎srcproc/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
srcstats

‎srcproc/Makefile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CC = gcc
2+
CFLAGS = -Wall -Wextra -Werror -std=c23 -pedantic -g -O2 -DHAVE_CONFIG_H -I. -I.. -D_POSIX_C_SOURCE=200112L -D_GNU_SOURCE
3+
BINS = srcstats
4+
5+
all: srcproc
6+
srcproc: $(BINS)
7+
8+
srcstats: srcstats.o
9+
10+
clean:
11+
rm -f *.o $(BINS)

‎srcproc/srcstats.c

+801
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.