13 lines
243 B
Makefile
13 lines
243 B
Makefile
|
CFLAGS = -g -Wall -I../../../csrc/.
|
||
|
|
||
|
SRC = $(shell ls ../../../csrc/*.c) $(shell ls ../common/u8x8_d_bitmap.c ) main.c
|
||
|
|
||
|
OBJ = $(SRC:.c=.o)
|
||
|
|
||
|
hello_world: $(OBJ)
|
||
|
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o $@
|
||
|
|
||
|
clean:
|
||
|
-rm -f $(OBJ) hello_world *.tga
|
||
|
|