From fa74c1448e236995a34d767a6e76c3055698fb60 Mon Sep 17 00:00:00 2001 From: FreeArtMan <=> Date: Tue, 22 Sep 2015 20:16:47 +0100 Subject: Wrapped rtlsdr to hw --- Makefile | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7f7d3b4..0a6c6e0 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,21 @@ CC=gcc CFLAGS= LDFLAGS= +BUILD_DIR=build/ -make: - $(CC) radiola.c -o $(PROJECT) +SOURCES= +OBJECTS= +OBJECTS_FINAL= + + + +include hw/make.mk + +make: $(OBJECTS) + $(CC) $(OBJECTS_FINAL) $(PROJECT).c -o $(PROJECT) $(LDFLAGS) + +%.o: %.c + $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $(BUILD_DIR)$@ + +clean: + rm -f $(PROJECT) -- cgit v1.2.3