fixed type of character
[dump_lv1_console_buffer.git] / Makefile
blob70b3b5c27dfbf90c1f862175dc9fa75307e4c791
2 CC=gcc
3 CFLAGS=-Wall -O2 -g
4 LDFLAGS=
6 SRC=dump_lv1_console_buffer.c
7 OBJ=$(SRC:.c=.o)
8 TARGET=dump_lv1_console_buffer
10 all: $(TARGET)
12 $(TARGET): $(OBJ)
13 $(CC) $(LDFLAGS) -o $@ $^
15 %.o: %.c
16 $(CC) $(CFLAGS) -c $<
18 .PHONY: clean
19 clean:
20 rm -f $(OBJ) $(TARGET)