test makefile added
[my-code/ivac.git] / Makefile_2
diff --git a/Makefile_2 b/Makefile_2
new file mode 100644 (file)
index 0000000..e00db75
--- /dev/null
@@ -0,0 +1,17 @@
+INCLUDEDIR = /usr/include
+CFLAGS = -O3 -Wall -I/usr/include/directfb
+LIBS = -L/usr/lib -ldirectfb
+
+OBJS = v4lapi.o
+OBJS2 = test
+
+test: $(OBJS)
+       $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) test.c
+
+all: test
+
+clean:
+       rm $(OBJS) $(OBJS2)
+
+remake: clean all
+