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++
LD=g++
PROFILE=
CFLAGS=-g $(PROFILE) -std=c99 -W -Wall $(DEFINES) `xml2-config --cflags`
CXXFLAGS=-g $(PROFILE) -W -Wall $(DEFINES) `xml2-config --cflags`
CFLAGS=-g $(PROFILE) -std=c99 -Wall $(DEFINES) `xml2-config --cflags`
CXXFLAGS=-g $(PROFILE) -Wall $(DEFINES) `xml2-config --cflags`
LDFLAGS=$(PROFILE) `xml2-config --libs`
BINS=nvptool

View file

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

View file

@ -5,7 +5,7 @@ CC=$(PREFIX)gcc
LD=$(PREFIX)gcc
NWZ_DB_DIR=../database
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
BINS=scsitool

View file

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