sandpiles

sandpile art
git clone git://git.rr3.xyz/sandpiles
Log | Files | Refs | README | LICENSE

commit ccc7e867e0523ef2355c781804884635f60b6633
parent 3d94a3f9ea734691b2c71e2d13ea5bb7004b1b6f
Author: Robert Russell <robertrussell.72001@gmail.com>
Date:   Wed, 10 Apr 2024 17:11:19 -0700

Clean up makefile

Diffstat:
MMakefile | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,8 +1,9 @@ +.POSIX: + CC = gcc CFLAGS = -march=native -O3 -Wall -sandpiles: sandpiles.c - gcc -march=native -O3 -g -Wall -o $@ sandpiles.c -lrcx +all: spstabilize sp2ff ff2sp spstabilize: spstabilize.c common.c common.h $(CC) -o $@ $(CFLAGS) spstabilize.c common.c -lrcx @@ -12,3 +13,7 @@ sp2ff: sp2ff.c common.c common.h ff2sp: ff2sp.c common.c common.h $(CC) -o $@ $(CFLAGS) ff2sp.c common.c -lrcx + +.PHONY: clean +clean: + rm -f spstabilize sp2ff ff2sp