PersonalVotingMachine/basic-setup/components/u8g2/sys/stdio/Makefile

15 lines
227 B
Makefile
Raw Permalink Normal View History

2020-12-22 14:30:09 +02:00
CFLAGS = -I../../csrc -g -Wall
#CFLAGS = -O4 -Wall
SRC = $(shell ls ../../csrc/*.c 2>/dev/null) test.c
OBJ = $(SRC:.c=.o)
stdio: $(OBJ)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o stdio
clean:
-rm $(OBJ) stdio
test:
./stdio