mirror of
https://github.com/Valeh2012/PersonalVotingMachine
synced 2024-11-23 01:40:58 +02:00
20 lines
240 B
Makefile
20 lines
240 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 codebuild.o
|
||
|
|
||
|
build: codebuild
|
||
|
./codebuild
|
||
|
|