source: trunk/src/rasapi32/makefile@ 1036

Last change on this file since 1036 was 868, checked in by sandervl, 26 years ago

Some header + makefile changes

File size: 931 bytes
Line 
1# $Id: makefile,v 1.2 1999-09-08 07:46:54 sandervl Exp $
2
3#
4# PD-Win32 API
5#
6# rasapi32.dll makefile
7#
8
9PDWIN32_INCLUDE = ..\..\include
10PDWIN32_LIB = ..\..\lib
11PDWIN32_BIN = ..\..\bin
12
13
14!include $(PDWIN32_INCLUDE)/pdwin32.mk
15
16
17CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE)
18CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
19
20
21TARGET = rasapi32
22
23OBJS = rasapi32.obj initterm.obj
24
25all: $(TARGET).dll $(TARGET).lib
26
27
28$(TARGET).dll: $(OBJS) $(TARGET).def
29 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \
30 $(PDWIN32_LIB)/pmwinx.lib $(PDWIN32_LIB)/kernel32.lib \
31 $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)
32 $(CP) $@ $(PDWIN32_BIN)
33
34
35$(TARGET).lib: $(TARGET).dll
36 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET).dll
37 $(CP) $@ $(PDWIN32_LIB)
38
39
40initterm.obj: initterm.cpp
41rasapi32.obj: rasapi32.cpp
42
43clean:
44 $(RM) *.obj *.lib *.dll *~ *.map *.pch
45 $(RM) $(PDWIN32_BIN)\$(TARGET).dll
46 $(RM) $(PDWIN32_LIB)\$(TARGET).lib
47
48
49
50
51
Note: See TracBrowser for help on using the repository browser.