1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
ifdef SHARED EXT=dylib else EXT=a endif ############################################## OBJPATH=$(OUTPATH)/$(OUTSUB) TARGETPATH=$(OBJPATH) TARGETNAME=$(OUTNAME).$(EXT) ifdef PKGVERSION VERNAME=$(OUTNAME).$(PKGVERSION).$(EXT) TARGET=$(TARGETPATH)/$(VERNAME) else TARGET=$(TARGETPATH)/$(TARGETNAME) endif INSTTARGET=$(TARGET)