Mercurial > gbwm
comparison Makefile @ 9:1d9dacd8fe55
The border is now perfectly aligned
| author | Atarwn Gard <a@qwa.su> | 
|---|---|
| date | Mon, 13 Oct 2025 11:28:02 +0500 | 
| parents | 0e5c535e379e | 
| children | 77da93f91cbc | 
   comparison
  equal
  deleted
  inserted
  replaced
| 8:0e5c535e379e | 9:1d9dacd8fe55 | 
|---|---|
| 3 HGVERSION = $(shell hg log -r . --template "{latesttag}-{latesttagdistance}-{node|short}" 2>/dev/null) | 3 HGVERSION = $(shell hg log -r . --template "{latesttag}-{latesttagdistance}-{node|short}" 2>/dev/null) | 
| 4 VERSION = $(if $(HGVERSION),$(HGVERSION),dev) | 4 VERSION = $(if $(HGVERSION),$(HGVERSION),dev) | 
| 5 CFLAGS ?= -O3 -std=c99 -Wall -DVERSION=\"$(VERSION)\" | 5 CFLAGS ?= -O3 -std=c99 -Wall -DVERSION=\"$(VERSION)\" | 
| 6 PREFIX ?= /usr/local | 6 PREFIX ?= /usr/local | 
| 7 | 7 | 
| 8 $(TARGET): | 8 build: config.h | 
| 9 $(CC) $(CFLAGS) gbwm.c -o $@ -lX11 -lXft -I/usr/include/freetype2/ -lXtst | 9 $(CC) $(CFLAGS) gbwm.c -o $@ -lX11 -lXft -I/usr/include/freetype2/ -lXtst | 
| 10 | 10 | 
| 11 config.h: default.config.h | 11 config.h: default.config.h | 
| 12 cp default.config.h config.h | 12 cp default.config.h config.h | 
| 13 | 13 |