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
|
|
|
# Compiler flags.
|
2007-06-14 16:28:05 +00:00
|
|
|
CPPFLAGS += -I./ -I../include
|
2007-05-06 16:03:28 +00:00
|
|
|
|
|
|
|
EDACPPFLAGS = $(CPPFLAGS)
|
|
|
|
|
|
|
|
all: common.a
|
|
|
|
|
|
|
|
include makefile.include
|
|
|
|
|
2007-05-28 18:09:49 +00:00
|
|
|
CPPFLAGS += $(EXTRACPPFLAGS) -fno-strict-aliasing
|
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-06-05 16:50:50 +00:00
|
|
|
rm -f *.o
|
|
|
|
rm -f *~
|
|
|
|
rm -f core
|
|
|
|
rm -f *.bak
|
|
|
|
rm -f *.obj
|
2007-05-06 16:03:28 +00:00
|
|
|
rm -f common.a
|
|
|
|
|
|
|
|
|