diff options
| author | @syxhe <https://t.me/syxhe> | 2024-12-21 02:03:28 -0600 |
|---|---|---|
| committer | @syxhe <https://t.me/syxhe> | 2024-12-21 02:03:28 -0600 |
| commit | f7ded3958a7f3bea16e2c8be55f159f34a45ca61 (patch) | |
| tree | 8190afb3c0ed8de0e0ea51a8178eea058a4b0179 /src | |
Initial Commit
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 26 | ||||
| -rw-r--r-- | src/main.c | 7 |
2 files changed, 33 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..f2f4bf7 --- /dev/null +++ b/src/Makefile | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | CC = gcc | ||
| 2 | SHELL = /usr/bin/bash | ||
| 3 | |||
| 4 | DEBUG_CFLAGS := -fanalyzer -Wanalyzer-too-complex -ggdb -g3 -Og | ||
| 5 | RELEASE_CFLAGS := -O3 -fipa-pta -fipa-cp -fuse-linker-plugin -flto=auto | ||
| 6 | CFLAGS = -Wall -Wextra -Wpedantic -pedantic-errors $(DEBUG_CFLAGS) | ||
| 7 | |||
| 8 | DEBUG_LDLIBS := | ||
| 9 | RELEASE_LDLIBS := | ||
| 10 | LDLIBS += $(DEBUG_LDLIBS) | ||
| 11 | |||
| 12 | DEBUG_LDFLAGS := | ||
| 13 | RELEASE_LDFLAGS := -fuse-linker-plugin -flto=auto | ||
| 14 | LDFLAGS += $(DEBUG_LDFLAGS) | ||
| 15 | |||
| 16 | |||
| 17 | BINARIES := main | ||
| 18 | |||
| 19 | .PHONY: all clean | ||
| 20 | |||
| 21 | all: main | ||
| 22 | |||
| 23 | main: main.c | ||
| 24 | |||
| 25 | clean: | ||
| 26 | rm -rvf $(BINARIES) \ No newline at end of file | ||
diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..f07684d --- /dev/null +++ b/src/main.c | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #include <stdio.h> | ||
| 2 | |||
| 3 | int main() { | ||
| 4 | printf("We do a little trolling it's called we do a little trolling\nGod help us all\n"); | ||
| 5 | |||
| 6 | return 0; | ||
| 7 | } \ No newline at end of file | ||
