raylib-ascii-render/Makefile

17 lines
273 B
Makefile
Raw Normal View History

2022-10-13 17:45:17 +03:00
CFLAGS +=
LDFLAGS := -lm
OBJECTS :=
raylib-ascii-render: lib
$(CC) $(CFLAGS) $(OBJECTS) src/main.c $(LDFLAGS) -o raylib-ascii-render
all: raylib-ascii-render
lib: $(OBJECTS)
clean:
$(RM) $(OBJECTS) raylib-ascii-render
obj/%.o: src/%.c
$(CC) $(CFLAGS) -c $^ -o $@