Browse Source

Set PALETTE_PATH in Makefile

tags/v1.8.0
Xerbo 4 years ago
parent
commit
6b03bdd11e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Makefile

+ 2
- 1
Makefile View File

@@ -1,7 +1,8 @@
CC = gcc CC = gcc
BIN = /usr/bin BIN = /usr/bin
INCLUDES = -I. INCLUDES = -I.
CFLAGS = -O3 -g -Wall -Wextra -Wno-missing-field-initializers $(INCLUDES)
PALETTE_DIR=\"$(PWD)/palettes\"
CFLAGS = -O3 -Wall -Wextra -Wno-missing-field-initializers -DPALETTE_DIR=$(PALETTE_DIR) $(INCLUDES)
OBJS = src/main.o src/image.o src/dsp.o src/filter.o src/reg.o src/pngio.o src/median.o src/color.o OBJS = src/main.o src/image.o src/dsp.o src/filter.o src/reg.o src/pngio.o src/median.o src/color.o


aptdec: $(OBJS) aptdec: $(OBJS)


Loading…
Cancel
Save