u8g2-copy/tools/codebuild/Makefile

20 lines
228 B
Makefile

#
# 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
build: codebuild
./codebuild