Changeset 2


Ignore:
Timestamp:
Aug 29, 2007, 6:46:13 PM (18 years ago)
Author:
bart
Message:

addition of ppdenc
modify makefile accordingly

Location:
trunk/pin
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pin/makefile

    r1 r2  
    22PINBIN=bin
    33LINK=ilink
    4 LFLAGS=/NOFREE
     4LFLAGS=/NOFREE /NOLOGO
     5CC_FLAGS=/Q /Iinclude /Ss /C
    56
    67PIN_OBJS=obj\afm2pak.obj \
     
    1516         obj\ppd2pak.obj
    1617
    17 all: $(OUTDIR)\pin.exe
     18PPD_OBJS=obj\ppdenc.obj \
     19         obj\listfls.obj
     20
     21all: $(OUTDIR)\pin.exe $(OUTDIR)\ppdenc.exe
    1822
    1923
     
    3236<<KEEP
    3337
     38$(PINBIN)\ppdenc.def: makefile
     39        @echo Writing new  @<<$(PINBIN)\ppdenc.def
     40NAME PIN WINDOWCOMPAT
     41EXETYPE OS2
     42PROTMODE
     43
     44DESCRIPTION
     45  'PPD ENCODING CONVERTER TOOL'
     46
     47CODE PRELOAD
     48STACKSIZE       32768
     49<<KEEP
     50
    3451# THE EXE
    3552$(OUTDIR)\pin.exe: makefile $(PIN_OBJS) $(PINBIN)\pin.def
     
    4360<<keep
    4461
     62$(OUTDIR)\ppdenc.exe: makefile $(PPD_OBJS) $(PINBIN)\ppdenc.def
     63        $(LINK) $(LFLAGS) $(LDFLAGS) @<<$(PINBIN)\ppdenc.lnk
     64        $(PPD_OBJS:.obj=.obj+
     65        )
     66        $(PINBIN)\ppdenc.exe
     67        $(PINBIN)\ppdenc.map
     68       
     69        $(PINBIN)\ppdenc.def;
     70<<keep
     71
     72{src}.c{obj}.obj:
     73        @echo generating $(@)
     74        @icc $(CC_FLAGS) /Fo$(@) src\$(@B).c
Note: See TracChangeset for help on using the changeset viewer.