diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2016-06-17 06:53:03 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@gnugeneration.com> | 2016-06-17 06:53:03 -0700 |
commit | 73c19de1dc9ce41e22dbf885009c984997dd20e5 (patch) | |
tree | 6e12bcbc316cfed94e0f44a0514de238aab7f869 /Makefile |
rototiller: initial commit
This is a retro-style demo hack, demonstrating libdrm dummy buffer use for
achieving "oldskool" demo-style graphics programming on modern linux.
It's a quick and nasty hack, some effort was put into optimizing the renderer,
but the libdrm setup code is prototype quality at best, it's a spaghetti of
crap cobbled together while scrutinizing the libdrm headers until something
showed on-screen.
The amazing thing is, it actually works, and quite well at that, on my machine
anyways.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c238b5d --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CFLAGS=-Wall -O3 $(shell pkg-config --cflags libdrm) +LDFLAGS=-lm $(shell pkg-config --libs libdrm) + +all: rototiller32 rototiller64 + +rototiller32: rototiller32.c + $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) + +rototiller64: rototiller64.c + $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) + +clean: + rm -f rototiller32 rototiller64 |