fordon_greeman / moosicpalyer

Branch: 277f22f
Switch branches/tags
main
theidioticdev fix raylib running under xwayland rather than uh being wayland native, styled the program 277f22f 12d ago
22 lines · 575 B Raw Blame History
1 CC = cc
2 # CC = tcc
3 CFLAGS = -Wall -std=c99 -D_DEFAULT_SOURCE -O2
4 INCLUDES = -Iraylib/include
5 LDFLAGS = -Lraylib -lraylib -lwayland-client -lwayland-cursor -lwayland-egl -lxkbcommon -lGL -lm -lpthread -ldl
6 TARGET = moosicpalyer
7 PREFIX ?= /usr/local
8 USE_WAYLAND_DISPLAY ?= TRUE
9
10 all: $(TARGET)
11
12 $(TARGET): main.c
13 $(CC) main.c -o $(TARGET) $(CFLAGS) $(INCLUDES) $(LDFLAGS)
14
15 clean:
16 rm -f $(TARGET)
17
18 PREFIX ?= /usr/local
19
20 install: $(TARGET)
21 install -Dm755 $(TARGET) $(PREFIX)/bin/$(TARGET)
22 install -Dm644 moosicpalyer.desktop $(PREFIX)/share/applications/moosicpalyer.desktop