30 lines
616 B
Makefile
30 lines
616 B
Makefile
#
|
|
|
|
include ..\..\config.nmake
|
|
include Makefile.common
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
|
|
/I. /I.. /I../.. $(GLIB_CFLAGS) \
|
|
$(PYTHON_CFLAGS) -DWS_BUILD_DLL
|
|
|
|
.c.obj::
|
|
$(CC) $(CFLAGS) -Fd.\ -c $<
|
|
|
|
LIBWSPYTHON_OBJECTS = $(LIBWSPYTHON_SRC:.c=.obj)
|
|
|
|
wspython.lib: $(LIBWSPYTHON_OBJECTS)
|
|
link /lib /out:wspython.lib $(LIBWSPYTHON_OBJECTS)
|
|
|
|
clean:
|
|
rm -f $(LIBWSPYTHON_OBJECTS) wspython.lib *.pdb *.sbr
|
|
|
|
distclean: clean
|
|
|
|
maintainer-clean: distclean
|
|
|
|
checkapi:
|
|
$(PERL) ../../tools/checkAPIs.pl -g termoutput -build \
|
|
$(LIBWSPYTHON_OBJECTS)
|