Browse Source

Added back the ability to change compiler with CC environment variable.

master
aidan 5 years ago
parent
commit
904e407908
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Makefile

+ 2
- 1
Makefile View File

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


Loading…
Cancel
Save