blob: a146fd8d72e1e52b6d9e89ee8db64eca371d98fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
CC = gcc
CFLAGS = -I . -g -O0 -Wall -std=c99 -lGL -lGLU -lm -D_BSD_SOURCE
TARGETS = amd-gpu-name glgears glgears-box glgears-box-cstrealloc \
gltransformfeedback glclear-depth glgears-box-msaa
all: $(TARGETS)
$(TARGETS): %: %.c
$(CC) $(CFLAGS) $< -lpciaccess -lX11 -lGLEW -lglut -o $@
clean:
rm -f $(TARGETS)
|