Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ docs/index.md
docs/LICENSE
docs/api/
site/

test_1d_simple
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@ CFLAGS=-Wall -Wextra --pedantic -O3
# CFLAGS=-Wall -Wextra --pedantic -g -fsanitize=undefined
# CFLAGS=-Wall -Wextra --pedantic -g -fsanitize=address

all: OpenSimplex2F.o test_OpenSimplex2F
all: OpenSimplex2F.o test_OpenSimplex2F test_1d_simple

OpenSimplex2F.o: OpenSimplex2F.c OpenSimplex2F.h Makefile
$(CC) ${CFLAGS} -c OpenSimplex2F.c -lm

test_OpenSimplex2F: tests/test_OpenSimplex2F.c OpenSimplex2F.o Makefile
$(CC) ${CFLAGS} -I. -o test_OpenSimplex2F tests/test_OpenSimplex2F.c OpenSimplex2F.o -lm -lpng

test_1d_simple: test_1d_simple.c OpenSimplex2F.o Makefile
$(CC) ${CFLAGS} -I. -o test_1d_simple test_1d_simple.c OpenSimplex2F.o -lm

clean:
rm -f *.o test_OpenSimplex2F test2d.png test3d.png test4d.png
rm -f *.o test_OpenSimplex2F test2d.png test3d.png test4d.png test_1d_simple


Loading
Loading