diff options
author | ZoRo <dos21h@gmail.com> | 2022-02-19 21:51:49 +0000 |
---|---|---|
committer | ZoRo <dos21h@gmail.com> | 2022-02-19 21:51:49 +0000 |
commit | e82d475b7bbb2e3ba0388cad069eedf46f4ae363 (patch) | |
tree | ecccf8000ce8266c6eef1d04e0bc1c1e61a0984c /Makefile | |
download | r820t-utils-e82d475b7bbb2e3ba0388cad069eedf46f4ae363.tar.gz r820t-utils-e82d475b7bbb2e3ba0388cad069eedf46f4ae363.zip |
Initial
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 34 |
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_* |