diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2016-12-13 08:20:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-13 08:20:24 -0800 |
commit | 2e292bd40f67e6e2612ad93fd77cdcd3449e4892 (patch) | |
tree | 4600607eb8c12af034b2bf29eec4f8207f9413c4 /Makefile | |
parent | 3ea61db55a9c21f7621f8a64d91153cb1955b2ff (diff) | |
parent | 173cac2fe990496fca2403aa3a4bfcbd6007e7e6 (diff) |
Merge pull request #2 from vcaputo/moar
More candy
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -1,13 +1,11 @@ -CFLAGS=-Wall -O3 $(shell pkg-config --cflags libdrm) -LDFLAGS=-lm $(shell pkg-config --libs libdrm) +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: rototiller32 rototiller64 +all: rototiller -rototiller32: rototiller32.c - $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) - -rototiller64: rototiller64.c - $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) +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 rototiller32 rototiller64 + rm -f rototiller |