summaryrefslogtreecommitdiff
path: root/libdrm/Makefile
blob: cc62b54a805c38a5532d89d13419536af7d6f50c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
SOURCES = xf86drm.c  xf86drmCompat.c xf86drmHash.c xf86drmRandom.c xf86drmSL.c
OBJECTS = xf86drm.o  xf86drmCompat.o xf86drmHash.o xf86drmRandom.o xf86drmSL.o

libxf86drm.a:	$(OBJECTS)	
	ar rc $@ $+
	ranlib $@

$(OBJECTS):	$(SOURCES)
	gcc -c -I../shared -I../linux $+

clean:
	rm *.a *.o