http://svn.hiasm.com/packs/RTCG/Makefile писал(а):
CC = g++CPPFLAGS = -fPIC
LDLIBS = -shared
SOURCES = $(wildcard *.cpp)
APP = codegen
all: $(APP)
clean:
rm libCodeGen.so *.o
$(APP): $(SOURCES:%.cpp=%.o)
$(LINK.o) $^ $(LDLIBS) -o libCodeGen.so
strip libCodeGen.so
cp libCodeGen.so /home/dilma/workspace/hiasm5/packs/fpc/
------------ Дoбавленo в 15.59:
*.SO == Linux