PersonalVotingMachine/basic-setup/components/u8g2/tools/codebuild/Makefile

20 lines
240 B
Makefile
Raw Permalink Normal View History

2020-12-22 14:30:09 +02:00
#
# U8g2 codebuilder
#
CFLAGS = -g -Wall
#CFLAGS = -O4 -Wall
SRC = codebuild.c
OBJ = $(SRC:.c=.o)
codebuild: $(SRC)
$(CC) -Wall -g $(LDFLAGS) $(SRC) -o codebuild
clean:
-rm ./codebuild codebuild.o
build: codebuild
./codebuild