limiteci / donut.c

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

License? Version? Makefile? #2

Closed JoshuaFern closed 1 year 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 1 year ago

Closing as stale.