DUMB SHIT 2026 EDITION 🎆🍾 – Telegram
DUMB SHIT 2026 EDITION 🎆🍾
78 subscribers
2.48K photos
2.03K videos
15 files
134 links
Download Telegram
Forwarded from /g/‘s Tech Memes (GM)
Forwarded from 🔮Wizards of the Cave🔮 (𓆟)
Took me way too long to write a makefile that works with unity builds
CC = gcc
SHELL := /usr/bin/env
.SHELLFLAGS := -S bash -c

CFLAGS = -std=c2x -Wall -Wextra -Wpedantic -pedantic-errors -fanalyzer -Wanalyzer-too-complex -ggdb -g3 -O0

CFLAGS +=
LDLIBS +=
LDFLAGS +=

SOURCES := $(wildcard *.c)
TIMESTAMP_DIR := .timestamps
TIMESTAMPS := $(patsubst %.c,$(TIMESTAMP_DIR)/%.t,$(SOURCES))

.PHONY: all c clean
.DELETE_ON_ERROR:
.ONESHELL:

all: main

$(TIMESTAMP_DIR):
mkdir -p $(TIMESTAMP_DIR)

$(TIMESTAMPS): $(TIMESTAMP_DIR)/%.t: %.c | $(TIMESTAMP_DIR)
touch $@

main: main.c $(TIMESTAMPS)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@

c clean:
-rm -rvf main $(TIMESTAMP_DIR)
Slowly but surely working on vxggr again. Took a break because I ran into a concurrency problem I didn't know how to (and still don't know how to honestly) solve
DUMB SHIT 2026 EDITION 🎆🍾
Took me way too long to write a makefile that works with unity builds CC = gcc SHELL := /usr/bin/env .SHELLFLAGS := -S bash -c CFLAGS = -std=c2x -Wall -Wextra -Wpedantic -pedantic-errors -fanalyzer -Wanalyzer-too-complex -ggdb -g3 -O0 CFLAGS += LDLIBS +=…
Note: This is because manual dependency resolution sucks and I can't figure out automatic dependency resolution so it's easier to just make the thing a unity build and write a slightly weird Makefile than bother. It's not like compilation is taking hours anyway
I aspire to be like this man
Forwarded from vx-underground
This media is not supported in your browser
VIEW IN TELEGRAM
+1 silly cat video for the people with the botnet DDoSing me. Very silly shenanigans
🥰1
[🪨] romu's repository
Photo
God damn it's been 6 years 😭