Ignore:
Timestamp:
Feb 9, 2000, 9:51:20 AM (26 years ago)
Author:
jeroen
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/makefile

    r2595 r2689  
    1 #/* $Id: makefile,v 1.2 2000-02-01 19:41:55 sandervl Exp $ */
     1# $Id: makefile,v 1.3 2000-02-09 08:50:54 jeroen Exp $
    22#
    33# PD-Win32 API
     
    2626
    2727TARGET1 = opengl32
    28 TARGET2 = glu32
     28TARGET2 = glu\glu32
    2929TARGET3 = glut\glut32
    3030
    3131OBJS1=  opengl32.obj initterm.obj
    32 OBJS2=  glu32.obj glucb32.obj initterm.obj
    3332
    34 all: $(TARGET1).dll $(TARGET1).lib $(TARGET2).dll $(TARGET2).lib $(TARGET3).dll
     33all: $(TARGET1).dll $(TARGET1).lib \
     34     $(TARGET2).dll $(TARGET2).lib \
     35     $(TARGET3).dll $(TARGET3).lib
    3536
    3637$(TARGET1).dll: $(OBJS1) $(TARGET1).def
     
    4950        $(IMPDEF) $** $@
    5051
    51 $(TARGET2).dll: $(OBJS2) $(TARGET2).def
    52         $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS2) $(TARGET2).def \
    53               $(PDWIN32_LIB)/pmwinx.lib $(PDWIN32_LIB)/kernel32.lib \
    54               $(PDWIN32_LIB)/user32.lib $(PDWIN32_LIB)/odincrt.lib \
    55               OS2386.LIB $(RTLLIB_O)
    56         $(CP) $@ $(PDWIN32_BIN)
    57 
    58 
    59 $(TARGET2).lib: $(TARGET2)exp.def
    60         $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET2)exp.def
    61         $(CP) $@ $(PDWIN32_LIB)
    62 
    63 $(TARGET2)exp.def: $(TARGET2).def
    64         $(IMPDEF) $** $@
    65 
     52$(TARGET2).dll:
     53    cd glu
     54    $(MAKE_CMD)
     55    cd ..
    6656
    6757$(TARGET3).dll:
    6858    cd glut
    6959    $(MAKE_CMD)
     60    cd ..
    7061
    7162opengl32.obj: opengl32.cpp pglos2.h glos2.h initterm.h
    72 glu32.obj:    glu32.cpp glos2.h gluos2.h initterm.h glucb32.h
    7363initterm.obj: initterm.cpp initterm.h
    74 glucb32.obj:  glucb32.cpp glucb32.h glos2.h gluos2.h
    7564
    7665clean:
     
    7867        $(RM) $(PDWIN32_BIN)\$(TARGET1).dll
    7968        $(RM) $(PDWIN32_LIB)\$(TARGET1).lib
    80         $(RM) $(PDWIN32_BIN)\$(TARGET2).dll
    81         $(RM) $(PDWIN32_LIB)\$(TARGET2).lib
    8269        cd glut
    8370        $(MAKE_CMD) clean
     71        cd ..\glu
     72        $(MAKE_CMD) clean
     73        cd ..
    8474
Note: See TracChangeset for help on using the changeset viewer.