shadermeh/Makefile

13 lines
290 B
Makefile
Raw Normal View History

CFLAGS = -ansi -pedantic -Wall -Wextra -O2 -Ofast -D_DEFAULT_SOURCE
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