Commit 02f970da authored by Nisarg Bhavsar's avatar Nisarg Bhavsar

Added Makefile + update README

parent cdbfb316
CXX=gcc
CXXFLAGS= -lbluetooth
DEPS =
OBJ = scan.o
%.o: %.c $(DEPS)
$(CXX) -c -o $@ $< $(CXXFLAGS)
default: scan.o
$(CXX) -o scan scan.o $(CXXFLAGS)
clean:
rm -f $(OBJ) scan
cleanall:
rm -f $(OBJ) $(CSV) scan
# FYDP
FYDP
\ No newline at end of file
FYDP
Makefile:
Compiles scan.c into scan executable, uses bluetooth adapter
to locate available bluetooth devices
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment