# $Id$ OBJS=platform.o version.o core.o string.o button.o include $(PWD)/Platform/$(PLATFORM).mk .PHONY: all clean .SUFFIXES: .c .o all: libctk$(SHLIB_SUFFIX) libctk$(LIB_SUFFIX) libctk$(SHLIB_SUFFIX): $(OBJS) $(RESFILE) $(CC) -shared $(LDFLAGS) $(LDFLAGS_TOOLKIT) -o $@ $(OBJS) $(RESFILE) $(LIBS_TOOLKIT) libctk$(LIB_SUFFIX): $(OBJS) $(AR) rc $@ $(OBJS) $(RANLIB) $@ libctk.res: libctk.rc $(WINDRES) -O coff -o $@ libctk.rc .c.o: $(CC) $(CFLAGS) -fPIC -c -o $@ $< clean: rm -f *.o *.obj *.exe *.so *.a *.dll *.res libctk$(SHLIB_SUFFIX) libctk