2022-07-18 00:58:11 +02:00
|
|
|
CFLAGS = -std=c11 -pedantic -Wall -Wextra -O2 -Ofast -D_DEFAULT_SOURCE -D_FORTIFY_SOURCE=2
|
2022-07-19 00:23:43 +02:00
|
|
|
LDFLAGS = -lX11 -lGL -lGLEW -lm -lrt -lfftw3
|
2022-07-16 22:01:12 +02:00
|
|
|
|
|
|
|
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
|