Browse Source

Merge pull request #41 from victor-timofei/master

Fix LDFLAGS for Ubuntu
master
torrinfail 4 years ago
committed by GitHub
parent
commit
5b8eb5f7b1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Makefile

+ 2
- 1
Makefile View File

@ -1,8 +1,9 @@
PREFIX ?= /usr/local
CC ?= cc
LDFLAGS = -lX11
output: dwmblocks.c blocks.def.h blocks.h
${CC} `pkg-config --cflags x11 --libs x11` dwmblocks.c -o dwmblocks
${CC} dwmblocks.c $(LDFLAGS) -o dwmblocks
blocks.h:
cp blocks.def.h $@


Loading…
Cancel
Save