mirror of
https://github.com/colindean/optar.git
synced 2025-03-11 22:17:40 +13:00
Removes redundant libpng include
It's gotten from the libpng-config command
This commit is contained in:
parent
a36cf13e52
commit
1bed801fe7
6
Makefile
6
Makefile
@ -10,10 +10,6 @@ CFLAGS=-O3 -Wall -Wuninitialized \
|
|||||||
$(SPECIFIC_CFLAGS) \
|
$(SPECIFIC_CFLAGS) \
|
||||||
-DNODEBUG `libpng-config --I_opts`
|
-DNODEBUG `libpng-config --I_opts`
|
||||||
|
|
||||||
LIBPNG_PATH ?= /usr/local/include/libpng
|
|
||||||
INCLUDES = $(LIBPNG_PATH)
|
|
||||||
INCLUDES_CMD = $(foreach d, $(INCLUDES), -I$d)
|
|
||||||
|
|
||||||
VERSION=$(shell git describe)
|
VERSION=$(shell git describe)
|
||||||
ARCHIVE_PATH=optar-$(VERSION).tar.gz
|
ARCHIVE_PATH=optar-$(VERSION).tar.gz
|
||||||
BINARIES=optar unoptar
|
BINARIES=optar unoptar
|
||||||
@ -50,7 +46,7 @@ golay.o: golay.c parity.h
|
|||||||
$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
|
||||||
|
|
||||||
unoptar.o: unoptar.c optar.h parity.h
|
unoptar.o: unoptar.c optar.h parity.h
|
||||||
$(CC) -c $(INCLUDES_CMD) $(CPPFLAGS) $(CFLAGS) -o $@ $<
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
|
||||||
|
|
||||||
optar: optar.o common.o golay_codes.o parity.o
|
optar: optar.o common.o golay_codes.o parity.o
|
||||||
$(CC) $(LDFLAGS) -o $@ $^
|
$(CC) $(LDFLAGS) -o $@ $^
|
||||||
|
Loading…
x
Reference in New Issue
Block a user