offsetof related experiments
This commit is contained in:
17
offsetTest/Makefile
Normal file
17
offsetTest/Makefile
Normal 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
|
||||
|
Reference in New Issue
Block a user