DUMB SHIT MISCHIEF AND MALFEASANCE EDITION
115 subscribers
2.67K photos
2.19K videos
16 files
148 links
Download Telegram
john societycorn must die
My youtube algorithm is tweaking
Aren't you still in gay baby jail because YouTube thought you are a child
😁1
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 MISCHIEF AND MALFEASANCE 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