Rev 42589 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#-*- Makefile -*-include ../../gnuwin32/MkRulesall: makeMakedeps DLL implibCPPFLAGS=-I. -I../../gnuwin32 -I../../includeDEFS=-DGA_DLL_BUILD -DENABLE_NLS=1CPPFLAGS+=$(DEFS)CFLAGS=$(OPTFLAGS)# gives ICE in gcc 4.3.0gimage-CFLAGS=-O2image-CFLAGS=-O2SOURCES=$(wildcard *.c)OBJECTS=$(foreach i, $(SOURCES), $(basename $i).o)DLL: libR.dll.a graphapp.dll@cp graphapp.dll ../../../binifeq ($(strip $(USE_IMPLIBS)),YES)implib: libgraphapp.dll.a@$(MKDIR) -p ../../../lib@$(CP) libgraphapp.dll.a ../../../libelseimplib:endiflibgraphapp.dll.a: graphapp.defgraphapp.def: $(OBJECTS)@$(ECHO) EXPORTS > $@@$(NM) $^ | $(SED) -n 's/^.* [BCDRT] _/ /p' | $(SORT) | uniq >> $@graphapp.dll: $(OBJECTS) dllversion.ographapp-DLLFLAGS=-mwindowsgraphapp-DLLLIBS=-L. -lR -lcomctl32## need to break mutual dependence with R.dlllibR.dll.a: R.defclean:$(RM) *.o *.a graphapp.def *.dll *~ \#*\# *.d Makedeps# Dependenciesdllversion.o: ../../include/Rversion.hDEPS=$(SOURCES:.c=.d)makeMakedeps: $(DEPS)@$(RM) Makedeps@cat $(DEPS) >> Makedeps-include Makedeps