summaryrefslogtreecommitdiff
path: root/plugins/dummy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dummy/Makefile')
-rw-r--r--plugins/dummy/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/dummy/Makefile b/plugins/dummy/Makefile
new file mode 100644
index 0000000..0fb053b
--- /dev/null
+++ b/plugins/dummy/Makefile
@@ -0,0 +1,21 @@
+AR := $(CROSS_COMPILE)ar
+CC := $(CROSS_COMPILE)gcc
+CFLAGS := -O2 -W -Wall -Wno-unused-parameter -I$(KDIR)/usr/include -I$(topdir)/include -I. -fPIC
+LDFLAGS :=
+
+OBJECTS := xlnx-dummy.o
+TARGET := xlnx-dummy.so
+
+%.o : %.c
+ $(CC) $(CFLAGS) -c -o $@ $<
+
+all: $(TARGET)
+
+$(TARGET): $(OBJECTS)
+ $(CC) -o $@ -shared $^
+
+clean:
+ -$(RM) *.o
+ -$(RM) $(TARGET)
+
+install: