PersonalVotingMachine/basic-setup/components/u8g2/tools/font/codesearch/Makefile

23 lines
418 B
Makefile
Raw Normal View History

2020-12-22 14:30:09 +02:00
# works within ubuntu and min-gw (win7) environment
CFLAGS = -g -DU8G2_USE_LARGE_FONTS -DU8G2_16BIT -Wall -I../../../csrc/
#CFLAGS = -O4 -Wall
SRC2 = codesearch.c ../build/u8g2_font_list.c $(shell ls ../../../csrc/*.c)
OBJ2 = $(SRC2:.c=.o)
ASM2 = $(SRC2:.c=.s)
.c.s:
$(CC) $(CFLAGS) -S -o $@ $<
codesearch: $(OBJ2)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ2) -o codesearch
clean:
-rm $(OBJ2) $(ASM2) codesearch