Commit dc7235c7 authored by dickelbeck's avatar dickelbeck
Browse files

Gathered up common compiler and linker flags for the makefile.gtk file set.

Much easier now to compile with debugging symbols enabled.
parent b5ef0962
Loading
Loading
Loading
Loading
+3 −7
Original line number Original line Diff line number Diff line
## Makefile for 3d-viewer.a ( wxGTK - LINUX )
## Makefile for 3d-viewer.a ( wxGTK - LINUX )
CC = gcc

# Compiler flags.

CPPFLAGS =  -Wall -O2 -DPCBNEW  -I../pcbnew -I ../include -I../common\
	  `wx-config --cxxflags` -fno-strict-aliasing



include ../libs.linux
include ../libs.linux


# Compiler flags.
CPPFLAGS += -DPCBNEW -I../pcbnew -I ../include -I../common

TARGET = 3d-viewer
TARGET = 3d-viewer


FINAL = 1
FINAL = 1
+4 −3
Original line number Original line Diff line number Diff line
## Makefile for common.a
## Makefile for common.a
CC = gcc
CC = gcc



include ../libs.linux

# Compiler flags.
# Compiler flags.
CPPFLAGS =  -Wall -O2 -I./ -I../include `wx-config --cflags`
CPPFLAGS +=  -I./ -I../include


EDACPPFLAGS = $(CPPFLAGS)
EDACPPFLAGS = $(CPPFLAGS)


all: common.a
all: common.a


include ../libs.linux

include makefile.include
include makefile.include


CPPFLAGS += $(EXTRACPPFLAGS) -fno-strict-aliasing
CPPFLAGS += $(EXTRACPPFLAGS) -fno-strict-aliasing
+3 −10
Original line number Original line Diff line number Diff line
# File:		makefile
# File:		makefile


# Compiler flags.
CC = gcc
LD = gcc

FINAL = 1
FINAL = 1


# Compiler flags.


CPPFLAGS = -Wall -O2 `wx-config --cxxflags`
include ../libs.linux


LDFLAGS =  -s
# Compiler flags.
CPPFLAGS +=


EDACPPFLAGS = $(CPPFLAGS)
EDACPPFLAGS = $(CPPFLAGS)


include ../libs.linux


TARGET = cvpcb
TARGET = cvpcb


all: $(TARGET)
all: $(TARGET)
+3 −8
Original line number Original line Diff line number Diff line
## Makefile for eeschema
## Makefile for eeschema
CC = gcc
#LD = c++ pour utiliser libstdc++ dynamique
LD = gcc


FINAL = 1


include ../libs.linux


LDFLAGS =  -s


include ../libs.linux
# Additional compiler flags
CPPFLAGS +=


TARGET = eeschema
TARGET = eeschema




CPPFLAGS = -Wall -O2 `wx-config --cxxflags`



all: $(TARGET)
all: $(TARGET)


+4 −8
Original line number Original line Diff line number Diff line
## Makefile for GERBVIEW et wxGTK
## Makefile for GERBVIEW et wxGTK
CC = gcc
LD = gcc


# Compiler flags.
CPPFLAGS =  -Wall -O2 `wx-config --cxxflags`

LDFLAGS = -s


include ../libs.linux
include ../libs.linux


# Additional compiler flags.
CPPFLAGS +=



TARGET = gerbview
TARGET = gerbview


@@ -35,4 +32,3 @@ clean:
	rm -f $(TARGET)
	rm -f $(TARGET)


    
    
 No newline at end of file
Loading