source: trunk/Makefile@ 1

Last change on this file since 1 was 1, checked in by Alex Taylor, 13 years ago

RXPRTUTL: initial import

File size: 775 bytes
Line 
1# Makefile for IBM C Compiler 3.x and NMAKE32.
2CC = icc
3LINK = ilink
4CFLAGS = /Ss /Q /Wuse
5LFLAGS = /NOLOGO /MAP
6NAME = rxprtutl
7LIBS = rexx.lib
8
9# Set environment variable DEBUG (=anything) to build with debugging symbols
10!ifdef DEBUG
11 CFLAGS = $(CFLAGS) /Ti /Tm
12 LFLAGS = $(LFLAGS) /DEBUG
13!endif
14
15$(NAME).dll : $(NAME).obj
16 @makedesc -N"Alex Taylor" -D"REXX Printer Management Utilities" -V"^#define=SZ_VERSION,$(NAME).c" $(NAME).def
17 $(LINK) $(LFLAGS) $(NAME).obj $(NAME).def $(LIBS) /O:$@
18
19$(NAME).obj : $(NAME).c $(NAME).def
20 $(CC) $(CFLAGS) /C /Ge- $(NAME).c
21
22clean :
23 if exist $(NAME).dll del $(NAME).dll
24 if exist $(NAME).obj del $(NAME).obj
25
26
Note: See TracBrowser for help on using the repository browser.