livewp/Makefile

20 lines
332 B
Makefile
Raw Normal View History

2024-04-04 14:45:55 +03:00
CFLAGS +=
2024-04-09 23:04:35 +03:00
LDFLAGS := -lm -lcairo -lxcb -llua5.3
2024-04-09 18:33:54 +03:00
OBJECTS := obj/common.o obj/rootwindow.o obj/cairo_context.o obj/api_draw.o
2024-04-04 14:45:55 +03:00
livewp: lib
$(CC) $(CFLAGS) $(OBJECTS) src/main.c $(LDFLAGS) -o livewp
2024-04-09 12:13:23 +03:00
testrun: all
./livewp
2024-04-04 14:45:55 +03:00
all: livewp
lib: $(OBJECTS)
clean:
$(RM) $(OBJECTS) livewp
obj/%.o: src/%.c
$(CC) $(CFLAGS) -c $^ -o $@