$(CC) $(CFLAGS) -DPLATFORM_M=\"$(PLATFORM_M)\" -DPLATFORM_P=\"$(PLATFORM_P)\" -fPIC -c -o $@ $<
clean:
- rm -f *.o *.so *.dll *.a
+ rm -f *.o *.so *.dll *.a *.lib
STATICLIB_SUFFIX = .a
PLATFORM_M = i686
PLATFORM_P = i686
+LDFLAGS += -Wl,--out-implib,./dataworks.lib
STATICLIB_SUFFIX = .a
PLATFORM_M = x86_64
PLATFORM_P = x86_64
+LDFLAGS += -Wl,--out-implib,./dataworks.lib
mkdir -p dataworks-dist/Document
cp Library/*$(LIB_SUFFIX) dataworks-dist/Library/
cp Library/*$(STATICLIB_SUFFIX) dataworks-dist/Library/
+ -cp Library/*.lib dataworks-dist/Library/
cp Library/*.h dataworks-dist/Library/
cp Client/dataworks$(EXEC_SUFFIX) dataworks-dist/Client/
cp -rf Document/doc/html dataworks-dist/Document/html