2007-05-06 16:03:28 +00:00
|
|
|
## Makefile for 3d-viewer.a ( wxMAC - mac os X)
|
|
|
|
CC = gcc
|
|
|
|
|
|
|
|
# Compiler flags.
|
|
|
|
|
|
|
|
CPPFLAGS = -Wall -O2 -DPCBNEW -I../pcbnew -I ../include -I../common\
|
|
|
|
`wx-config --cxxflags`
|
2007-05-28 18:09:49 +00:00
|
|
|
CPPFLAGS += -arch i386 -arch ppc
|
2007-05-06 16:03:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
include ../libs.macosx
|
|
|
|
|
|
|
|
TARGET = 3d-viewer
|
|
|
|
|
|
|
|
FINAL = 1
|
|
|
|
|
|
|
|
all: $(TARGET).a
|
|
|
|
|
|
|
|
include makefile.include
|
|
|
|
|
|
|
|
|
|
|
|
$(TARGET).a: $(OBJECTS3D) makefile.gtk makefile.include
|
|
|
|
rm -f $@
|
|
|
|
ar -rv $@ $(OBJECTS3D)
|
|
|
|
ranlib $@
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|
|
|
|
rm -f *.exe
|
|
|
|
rm -f *.res
|
|
|
|
rm -f *.map
|
|
|
|
rm -f $(TARGET).a
|
|
|
|
|
|
|
|
|
|
|
|
|