shadermeh/Makefile

13 lines
313 B
Makefile
Raw Normal View History

CFLAGS = -std=c11 -pedantic -Wall -Wextra -O2 -Ofast -D_DEFAULT_SOURCE -D_FORTIFY_SOURCE=2
LDFLAGS = -lX11 -lGL -lGLEW -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