#Userlib directories USERLIB = ./lib # List of all the Userlib files USERSRC = $(USERLIB)/st7735/st7735.c \ $(USERLIB)/st7735/fonts.c \ $(USERLIB)/st7735/liberation_mono_7x10.c \ $(USERLIB)/st7735/font_12x16uk.c \ $(USERLIB)/buttons/buttons.c \ $(USERLIB)/onewire/onewire.c # Required include directories USERINC = $(USERLIB) \ $(USERLIB)/st7735 \ $(USERLIB)/eeprom \ $(USERLIB)/buttons \ $(USERLIB)/onewire # Shared variables ALLCSRC += $(USERSRC) ALLINC += $(USERINC)