diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-06-22 18:25:13 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-06-22 18:25:13 +0200 |
| commit | 2eba28efad375246eed6dad690c71b76a7025285 (patch) | |
| tree | acfc7bee20938f3377cf0ba90fc51e9800009623 /Makefile | |
| parent | ee69b365411b7483c481f365a6b170967d27eac0 (diff) | |
| download | overdraw-master.tar.gz overdraw-master.zip | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,8 +1,16 @@ -LDLIBS = -lX11 -lcairo - PREFIX ?= /usr/local BINDIR ?= /bin +CFLAGS = -Wunused-variable -Wunused-function -Wconversion +LDLIBS = -lX11 -lcairo + +ifeq ($(DEBUG),1) +CFLAGS += -Og -g +else +CFLAGS += -O2 +endif + + all: overdraw clean: |
