summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZoRo <dos21h@gmail.com>2022-02-19 21:51:49 +0000
committerZoRo <dos21h@gmail.com>2022-02-19 21:51:49 +0000
commite82d475b7bbb2e3ba0388cad069eedf46f4ae363 (patch)
treeecccf8000ce8266c6eef1d04e0bc1c1e61a0984c /Makefile
downloadr820t-utils-e82d475b7bbb2e3ba0388cad069eedf46f4ae363.tar.gz
r820t-utils-e82d475b7bbb2e3ba0388cad069eedf46f4ae363.zip
Initial
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_*