shadermeh/Makefile

13 lines
298 B
Makefile
Raw Normal View History

CFLAGS = -ansi -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