offsetof related experiments

This commit is contained in:
2020-12-12 20:24:58 +01:00
parent 2ee6360820
commit 6c0848ab01
2 changed files with 64 additions and 0 deletions

17
offsetTest/Makefile Normal file
View File

@ -0,0 +1,17 @@
CFLAGS=
test: test.o
gcc -o $@ $^
test.o: test.c
gcc -c -o $@ $(CFLAGS) $^
.PHONY: run
run: test
./test
.PHONY: clean
clean:
rm -f *.o test