Makefile: update
This commit is contained in:
parent
bd1137acd7
commit
3fd0c74377
1 changed files with 4 additions and 3 deletions
5
Makefile
5
Makefile
|
@ -8,7 +8,8 @@ PKGS = wayland-client fcft pixman-1
|
||||||
INCS = `$(PKG_CONFIG) --cflags $(PKGS)`
|
INCS = `$(PKG_CONFIG) --cflags $(PKGS)`
|
||||||
LIBS = `$(PKG_CONFIG) --libs $(PKGS)`
|
LIBS = `$(PKG_CONFIG) --libs $(PKGS)`
|
||||||
|
|
||||||
FPCFLAGS = -pedantic -Wall $(INCS) $(CPPFLAGS) $(CFLAGS)
|
DAMCPPFLAGS = -D_GNU_SOURCE
|
||||||
|
DAMCFLAGS = -pedantic -Wall $(INCS) $(DAMCPPFLAGS) $(CPPFLAGS) $(CFLAGS)
|
||||||
LDLIBS = $(LIBS)
|
LDLIBS = $(LIBS)
|
||||||
|
|
||||||
SRC = dam.o xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o \
|
SRC = dam.o xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o \
|
||||||
|
@ -18,7 +19,7 @@ OBJ = $(SRC:.c=.o)
|
||||||
all: dam
|
all: dam
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) -o $@ -c $(FPCFLAGS) -c $<
|
$(CC) -o $@ -c $(DAMCFLAGS) -c $<
|
||||||
|
|
||||||
dam.o: wlr-layer-shell-unstable-v1-protocol.h \
|
dam.o: wlr-layer-shell-unstable-v1-protocol.h \
|
||||||
river-control-unstable-v1-protocol.h river-status-unstable-v1-protocol.h
|
river-control-unstable-v1-protocol.h river-status-unstable-v1-protocol.h
|
||||||
|
|
Loading…
Add table
Reference in a new issue