2007-05-06 16:03:28 +00:00
|
|
|
## Makefile for common.a
|
|
|
|
CC = gcc
|
|
|
|
|
2007-06-14 16:28:05 +00:00
|
|
|
|
|
|
|
include ../libs.linux
|
|
|
|
|
2007-05-06 16:03:28 +00:00
|
|
|
all: common.a
|
|
|
|
|
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
|
|
|
|
2009-02-17 09:03:45 +00:00
|
|
|
# specfic Compiler flags and options
|
2009-02-20 14:31:16 +00:00
|
|
|
CPPFLAGS += $(EXTRACPPFLAGS) -I./ -I../include
|
2007-05-06 16:03:28 +00:00
|
|
|
EDACPPFLAGS = $(CPPFLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
common.a: $(OBJECTS) makefile.gtk makefile.include
|
|
|
|
rm -f $@
|
|
|
|
ar -rv $@ $(OBJECTS)
|
|
|
|
ranlib $@
|
|
|
|
|
2007-05-28 18:09:49 +00:00
|
|
|
install: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
|
|
|
|
|
|
|
|
|