paritybit.ca

Files for paritybit.ca.
git clone https://git.jaderune.net/jbauer/paritybit.ca
Log | Files | Refs | README | LICENSE

commit 7b0a64d833db0b0b6647a1a3f5541f896b7434e2
parent 07685025220dd68e8935917c32618a2afceb66d3
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Mon,  1 May 2023 20:45:44 -0400

*

Diffstat:
Mcontent/garden/make.md | 17++++++++++-------
Mcontent/now.md | 5+++--
2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/content/garden/make.md b/content/garden/make.md @@ -166,7 +166,8 @@ PROG = foo CFLAGS = -std=c89 -Wall -Wextra -Wpedantic -Wshadow -Wvla\ -Walloca -Wconversion -Wdeprecated -Wpointer-arith\ - -Wstrict-prototypes -Wmissing-prototypes + -Wstrict-prototypes -Wmissing-prototypes -Wdouble-promotion\ + -fsanitize=undefined,address -fsanitize-trap=undefined SRCS != find src -name '*.c' @@ -198,11 +199,12 @@ Here is an example of a more advanced makefile using BSD make syntax: PROG = $(.CURDIR:T) CFLAGS = -std=c89 -Wall -Wextra -Wpedantic -Wshadow -Wvla\ - -Walloca -Wconversion -Wdeprecated -Wpointer-arith\ - -Wstrict-prototypes -Wmissing-prototypes + -Walloca -Wconversion -Wdeprecated -Wpointer-arith\ + -Wstrict-prototypes -Wmissing-prototypes -Wdouble-promotion\ + -fsanitize=undefined,address -fsanitize-trap=undefined .ifmake debug -CFLAGS += -O0 -g +CFLAGS += -O0 -g3 CPPFLAGS += -DDEBUG .else CFLAGS += -Oz @@ -252,8 +254,9 @@ The equivalent to the previous section for GNU make would look something like: PROG = foo CFLAGS = -std=c89 -Wall -Wextra -Wpedantic -Wshadow -Wvla\ - -Walloca -Wconversion -Wdeprecated -Wpointer-arith\ - -Wstrict-prototypes -Wmissing-prototypes -Oz + -Walloca -Wconversion -Wdeprecated -Wpointer-arith\ + -Wstrict-prototypes -Wmissing-prototypes -Wdouble-promotion\ + -fsanitize=undefined,address -fsanitize-trap=undefined SRCS != find src -name '*.c' OBJS := $(SRCS:%=obj/%.o) @@ -265,7 +268,7 @@ obj/%.c.o: %.c $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ .PHONY: debug -debug: CFLAGS += -O0 -g +debug: CFLAGS += -O0 -g3 debug: CPPFLAGS += -DDEPENDS debug: $(PROG) diff --git a/content/now.md b/content/now.md @@ -25,7 +25,7 @@ continuing to pay for SourceHut (or needing to pay when it goes into Beta soonโ„ข) when I already was paying to host this git forge. Plus, I already have a barebones way for people to view my repositories over at [git.paritybit.ca](http://git.paritybit.ca), so having both a plain and more -flashy way for people to view my repos is nice. I also like [the activity +flashy way for people to view my repos is nice. And I like [the activity tracker](https://git.jaderune.net/jbauer?tab=activity). The gardens (both physical and digital) have undergone more cleaning, trimming, @@ -35,7 +35,8 @@ chives, and basil seedlings which are coming along nicely. In my digital garden I've done a small re-organization and eliminated the opinions section since it grew stale, but freshened up and re-planted my opinions on [software licensing](/garden/software-licensing), now complete with a rant about the ISC -license controversy ๐Ÿ˜ƒ. +license controversy ๐Ÿ˜ƒ. I also created a reference page on +[Makefiles](/garden/make). Thanks to [Devine](http://xxiivv.com), I've been playing around with [dbanay's implementation of Smalltalk-80](https://github.com/dbanay/Smalltalk), which