Makefile revision afe139f629251f38afd5b477d5b00f47d17da60f
1TARGET = libegldrm.a 2CFILES = $(wildcard ./*.c) 3OBJECTS = $(patsubst ./%.c,./%.o,$(CFILES)) 4GALLIUMDIR = ../.. 5TOP = ../../../.. 6 7include ${TOP}/configs/current 8 9CFLAGS:= -g -Wall -Werror-implicit-function-declaration -fPIC \ 10 -I${GALLIUMDIR}/include \ 11 -I${GALLIUMDIR}/auxiliary \ 12 -I${TOP}/src/mesa/drivers/dri/common \ 13 -I${TOP}/src/mesa \ 14 -I$(TOP)/include \ 15 -I$(TOP)/src/egl/main \ 16 ${LIBDRM_CFLAGS} \ 17 ${CFLAGS} 18 19############################################# 20 21.PHONY = all clean 22 23all: ${TARGET} 24 25${TARGET}: ${OBJECTS} 26 ar rcs $@ $^ 27 28clean: 29 rm -rf ${OBJECTS} ${TARGET} 30