limiteci / donut.c

A donut-shaped C code that outputs a 3D spinning donut
63 stars 18 forks source link

License? Version? Makefile? #2

Closed JoshuaFern closed 10 months ago

JoshuaFern commented 2 years ago

Hi, I've seen this 3d spinning donut used in some screenshots in https://old.reddit.com/r/unixporn, super cool!

I'd like to package this but it needs at least a license and preferably a versioned release and a simple makefile would be helpful.

Zipdox2 commented 1 year ago
CC=gcc
LIBS=-lm
OPTS=-w
TARGET=donut

all: $(TARGET)

$(TARGET): donut.c
    $(CC) -o $@ $^ $(LIBS) $(OPTS)

clean:
    rm $(TARGET)
JoshuaFern commented 10 months ago

Closing as stale.