diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-22 13:29:47 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-22 13:29:47 +0100 |
commit | 6af0fb2c69e06df9476393fc57aae7b9d649560d (patch) | |
tree | 91e428522ae06eb54be24b05017680563ff3394f /Makefile | |
download | drminfo-6af0fb2c69e06df9476393fc57aae7b9d649560d.tar.gz |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ca8d539 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CC ?= gcc +CFLAGS ?= -Os -g -std=c99 +CFLAGS += -Wall + +TARGETS := drminfo + +CFLAGS += $(shell pkg-config --cflags libdrm) +LDLIBS += $(shell pkg-config --libs libdrm) + +all: $(TARGETS) + +clean: + rm -f $(TARGETS) + rm -f *~ + +drminfo: drminfo.o |