Changeset 4501 for trunk/src/peldr/makefile
- Timestamp:
- Oct 20, 2000, 1:45:25 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/peldr/makefile
r3037 r4501 1 # $Id: makefile,v 1.1 6 2000-03-07 11:11:10 birdExp $1 # $Id: makefile,v 1.17 2000-10-20 11:45:25 sandervl Exp $ 2 2 3 3 # … … 27 27 # Object files. All objects should be prefixed with $(OBJDIR)! 28 28 OBJS = $(OBJDIR)\pe.obj 29 29 OBJS1= $(OBJDIR)\pec.obj 30 30 31 31 # Target name - name of the dll without extention and path. 32 TARGET = pe33 32 TARGET = pe 33 TARGET1 = pec 34 34 35 35 # All rule - build objs, target dll, copies dll to bin and makes libs. 36 36 all: $(OBJDIR) \ 37 37 $(OBJDIR)\$(TARGET).exe \ 38 $(PDWIN32_BIN)\$(TARGET).exe 38 $(PDWIN32_BIN)\$(TARGET).exe \ 39 $(OBJDIR)\$(TARGET1).exe \ 40 $(PDWIN32_BIN)\$(TARGET1).exe 39 41 40 42 … … 47 49 $(LD2) $(LD2FLAGS_ODINCRT) @$(OBJDIR)\$(TARGET).lrf 48 50 51 $(OBJDIR)\$(TARGET1).exe: $(OBJS1) $(OBJDIR)\$(TARGET1).lrf 52 $(LD2) $(LD2FLAGS_ODINCRT) @$(OBJDIR)\$(TARGET1).lrf 53 54 $(PDWIN32_BIN)\$(TARGET1).exe: $(OBJDIR)\$(TARGET1).exe 55 cd $(OBJDIR) 56 $(MAPSYM) $(TARGET1).map 57 cd ..\.. 58 $(CP) $(OBJDIR)\$(TARGET1).sym $(PDWIN32_BIN) 59 $(CP) $** $@ 60 -$(CP) $** $(@D)..\..\$(@F) 61 -$(CP) $(OBJDIR)\$(TARGET1).sym $(@D)..\.. 62 63 $(OBJDIR)\pec.obj: pe.cpp 64 $(CC) -C $(CXXFLAGS) -DCOMMAND_LINE_VERSION -Fo$@ pe.cpp 49 65 50 66 # Linker file - creates the parameter file passed on to the linker. … … 61 77 62 78 79 $(OBJDIR)\$(TARGET1).lrf: makefile 80 @echo Creating file <<$@ 81 /OUT:$(OBJDIR)\$(TARGET1).exe 82 /MAP:$(OBJDIR)\$(TARGET1).map 83 /PMTYPE:vio 84 /STACK:0x100000 85 /NOBASE 86 $(OBJS1) 87 os2386.lib 88 <<keep 89 63 90 # Dep rule - makes depenencies for C, C++ and Asm files. 64 91 dep:
Note:
See TracChangeset
for help on using the changeset viewer.