kicad/common/makefile.gtk

36 lines
612 B
Plaintext
Raw Normal View History

2007-05-06 16:03:28 +00:00
## Makefile for common.a
CC = gcc
include ../libs.linux
all: common.a pcbcommon.a
2007-05-06 16:03:28 +00:00
2007-11-04 22:14:47 +00:00
deps:
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
2007-05-06 16:03:28 +00:00
include makefile.include
2007-11-04 22:14:47 +00:00
-include *.d
2007-05-06 16:03:28 +00:00
# specfic Compiler flags and options
CPPFLAGS += $(EXTRACPPFLAGS) -I./ -I../include
2007-05-06 16:03:28 +00:00
EDACPPFLAGS = $(CPPFLAGS)
common.a: $(COMMON_OBJECTS) makefile.gtk makefile.include
rm -f $@
ar -rv $@ $(COMMON_OBJECTS)
ranlib $@
2007-05-06 16:03:28 +00:00
pcbcommon.a: $(PCB_COMMON_OBJECTS) makefile.gtk makefile.include
2007-05-06 16:03:28 +00:00
rm -f $@
ar -rv $@ $(PCB_COMMON_OBJECTS)
2007-05-06 16:03:28 +00:00
ranlib $@
install:common.a pcb_common.a
2007-05-06 16:03:28 +00:00
clean:
2007-11-04 22:14:47 +00:00
rm -f *.o *~ core *.bak *.obj *.d
2007-05-06 16:03:28 +00:00
rm -f common.a