summaryrefslogtreecommitdiff
path: root/Makefile
blob: 13eef36b287936ba0bd1f399fbaefaa9a1620914 (plain)
1
2
3
4
5
6
7
8
9
10
11
CFLAGS=-D_GNU_SOURCE -Wall -O3 -ffast-math -pthread $(shell pkg-config --cflags libdrm) -I.
LDFLAGS=-lm -pthread $(shell pkg-config --libs libdrm)
SRC=rototiller.c modules/ray/*.c modules/roto/roto.c modules/sparkler/*.c drmsetup.c fb.c fps.c util.c

all: rototiller

rototiller: $(SRC) Makefile modules/ray/*.h modules/roto/roto.h modules/sparkler/*.h drmsetup.h fb.h fps.h util.h
	$(CC) -o $@ $(SRC) $(CFLAGS) $(LDFLAGS)

clean:
	rm -f rototiller
© All Rights Reserved