summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..365a902
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,34 @@
+CC=gcc
+CFLAGS=
+INCLUDE=-I./include
+INCLUDE+=-I../librusb/src
+LDFLAGS=
+LDFLAGS+=-Lrusb
+
+SOURCES=
+SRC_LIB=
+OBJ_LIB=
+SRC_UTILS=
+OBJ_UTILS=
+
+BUILD_DIR=build/
+
+include src/make.mk
+
+
+OBJECTS=$(SOURCES:.c=.o)
+
+utils: $(DIR)-pre $(OBJ_UTILS)
+
+all: $(OBJECTS)
+
+make: $(OBJECTS)
+ echo $(OBJECTS)
+ echo $(SRC_LIB)
+
+
+%.o: %.c
+ $(CC) $(CFLAGS) $(INCLUDE) -Wl,-rpath=. -c $< -o $(BUILD_DIR)$@
+
+clean:
+ rm -rf build/src/rtl_*