Open paulsonmathew21 opened 6 years ago
Current makefile will not work for some Linux distribution. I find some issues with the compile argument positions. Compiling done after changing the position.
Initially: $(CC) $(BT_LIB) $(NCURSES_LIB) $(PTHREAD) dev_class.c namelist.c spooftooph.c bdaddr.c oui.c -o spooftooph
After changing the position: $(CC) dev_class.c namelist.c spooftooph.c bdaddr.c oui.c $(BT_LIB) $(NCURSES_LIB) $(PTHREAD) -o spooftooph
Current makefile will not work for some Linux distribution. I find some issues with the compile argument positions. Compiling done after changing the position.
Initially: $(CC) $(BT_LIB) $(NCURSES_LIB) $(PTHREAD) dev_class.c namelist.c spooftooph.c bdaddr.c oui.c -o spooftooph
After changing the position: $(CC) dev_class.c namelist.c spooftooph.c bdaddr.c oui.c $(BT_LIB) $(NCURSES_LIB) $(PTHREAD) -o spooftooph