u8g2-copy/sys/stdio/Makefile

15 lines
227 B
Makefile
Raw Normal View History

2015-11-07 04:07:14 +08: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