source: trunk/src/psapi/makefile@ 2015

Last change on this file since 2015 was 1710, checked in by sandervl, 26 years ago

DIBSection changes, EB's file io additions, Jens Weissner's changes to several dlls

File size: 902 bytes
Line 
1# $Id: makefile,v 1.3 1999-11-12 11:38:44 sandervl Exp $
2
3#
4# PD-Win32 API
5#
6# psapi.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 = psapi
22
23OBJS = psapi.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).def
36 $(IMPLIB) $(IMPLIBFLAGS) $@ $**
37 $(CP) $@ $(PDWIN32_LIB)
38
39
40initterm.obj: initterm.cpp
41psapi.obj: psapi.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.