Makefile cleanups

Change-Id: I69b8b81d357553c979682d42097eba864c951512
This commit is contained in:
Amaury Pouly 2017-01-08 16:08:28 +01:00
parent 1895af8e15
commit 9b2fab1ca9
4 changed files with 6 additions and 6 deletions

View file

@ -3,8 +3,8 @@ CC=gcc
CXX=g++ CXX=g++
LD=g++ LD=g++
PROFILE= PROFILE=
CFLAGS=-g $(PROFILE) -std=c99 -W -Wall $(DEFINES) `xml2-config --cflags` CFLAGS=-g $(PROFILE) -std=c99 -Wall $(DEFINES) `xml2-config --cflags`
CXXFLAGS=-g $(PROFILE) -W -Wall $(DEFINES) `xml2-config --cflags` CXXFLAGS=-g $(PROFILE) -Wall $(DEFINES) `xml2-config --cflags`
LDFLAGS=$(PROFILE) `xml2-config --libs` LDFLAGS=$(PROFILE) `xml2-config --libs`
BINS=nvptool BINS=nvptool

View file

@ -1,7 +1,7 @@
DEFINES= DEFINES=
CC=gcc CC=gcc
LD=gcc LD=gcc
CFLAGS=-g -std=c99 -W -Wall $(DEFINES) CFLAGS=-g -std=c99 -Wall $(DEFINES)
LDFLAGS= LDFLAGS=
BINS=emmctool BINS=emmctool

View file

@ -5,7 +5,7 @@ CC=$(PREFIX)gcc
LD=$(PREFIX)gcc LD=$(PREFIX)gcc
NWZ_DB_DIR=../database NWZ_DB_DIR=../database
INCLUDES=-I$(NWZ_DB_DIR) -I$(SCSI_DIR) INCLUDES=-I$(NWZ_DB_DIR) -I$(SCSI_DIR)
CFLAGS=-std=c99 -W -Wall $(DEFINES) $(INCLUDES) CFLAGS=-std=c99 -Wall $(DEFINES) $(INCLUDES)
LDFLAGS=-L$(SCSI_DIR) -lrbscsi LDFLAGS=-L$(SCSI_DIR) -lrbscsi
BINS=scsitool BINS=scsitool

View file

@ -3,8 +3,8 @@ CC=gcc
CXX=g++ CXX=g++
LD=g++ LD=g++
PROFILE= PROFILE=
CFLAGS=-g $(PROFILE) -std=c99 -W -Wall $(DEFINES) `pkg-config --cflags libcrypto++` CFLAGS=-g $(PROFILE) -std=c99 -Wall $(DEFINES) `pkg-config --cflags libcrypto++`
CXXFLAGS=-g $(PROFILE) -W -Wall $(DEFINES) `pkg-config --cflags libcrypto++` CXXFLAGS=-g $(PROFILE) -Wall $(DEFINES) `pkg-config --cflags libcrypto++`
LDFLAGS=$(PROFILE) `pkg-config --libs libcrypto++` -lpthread LDFLAGS=$(PROFILE) `pkg-config --libs libcrypto++` -lpthread
BINS=upgtool BINS=upgtool