forked from goliath/shadermeh
12 lines
301 B
Makefile
12 lines
301 B
Makefile
CFLAGS = -std=c11 -pedantic -Wall -Wextra -O2 -Ofast -D_DEFAULT_SOURCE
|
|
LDFLAGS = -lX11 -lGL -lGLEW -lfftw3 -lm -lrt
|
|
|
|
shadermeh: shadermeh.o window.o shader.o
|
|
|
|
window.o: window.c shadermeh.h
|
|
shader.o: shader.c shadermeh.h
|
|
shadermeh.o: shadermeh.c shadermeh.h
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) shadermeh *.o
|