u8g2-copy/sys/stdio/Makefile

15 lines
227 B
Makefile

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