Build compatibility for linux
This commit is contained in:
parent
73197756c8
commit
8f5b827727
4
Makefile
4
Makefile
@ -1,7 +1,7 @@
|
||||
PREFIX=
|
||||
CC=cc
|
||||
CFLAGS=-O3
|
||||
LIBS=-lncurses
|
||||
CFLAGS=-O3 -std=gnu99
|
||||
LIBS=-lncurses -lm
|
||||
|
||||
all: nuke
|
||||
|
||||
|
3
globe.h
3
globe.h
@ -13,7 +13,8 @@
|
||||
|
||||
static const double GOLDEN_RATIO = 1.6180339887498948482045868343656381;
|
||||
|
||||
static const int NUM_WAVES = 7;
|
||||
#define NUM_WAVES 7
|
||||
|
||||
// Randomly generated x/y offsets:
|
||||
static const double OFFSETS[2*NUM_WAVES] = {
|
||||
0.5459919526, 0.6072439135, 0.6217563193, 0.5444045324, 0.8923452588,
|
||||
|
Loading…
Reference in New Issue
Block a user