summaryrefslogtreecommitdiff
path: root/libdrm/Makefile
blob: 8a7ece8b7f16b2bf25a38b99e8310470fbffa988 (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)
	$(CC) $(CFLAGS) -c -I../shared -I../linux $+

clean:
	rm *.a *.o