Tool to set MAC address in EEPROM of RTL8168/8111E devices
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
232 B

CFLAGS=-Wall -g `pkg-config --cflags libpci`
LIBS=`pkg-config --libs libpci`
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $^
rtl8168-eeprom: rtl8168-eeprom.o
$(CC) -o $@ $^ $(LDFLAGS) $(LIBS)
clean:
rm -f rtl8168-eeprom rtl8168-eeprom.o