Redesign of the server communication protocol to allow arbitrary sized
[wine] / programs / notepad / lccmake
CommitLineData
03287451
MB
1#
2# Makefile for LCC-WIN32
3#
4# Copyright 1999 Marcel Baur (mbaur@g26.ethz.ch)
5# To be distributed under the Wine License
6#
7# Use lccmake -f lccmake to use this makefile
8#
9# See http://www.cs.virgina.edu/~lcc-win32 for
10# information about LCC-WIN32
11#
12
13#
14# LCC home directory
15#
16LCCHOME=C:\LCC
17
18#
19# individual flags for LCC, LCCLNK, LRC
20#
21CFLAGS=-O -DLCC -g2
22LNKFLAGS=-O winepad.exe -subsystem windows
23LRCFLAGS=/r /v /m
24
25#
26# available languages
27#
28LANGUAGES=Da De En Es Fi Fr Sw
29
30#
31# default language
32#
33LANGUAGE=En
34
35#
36# required include libraries
37#
38LIBS=SHELL32.LIB
39
40#
41# object files
42#
43OBJS=main.obj dialog.obj license.obj license_En.obj language.obj
44
45#
46# ---[ it is save not to change anything behind this line ]--- #
47#
48
49winepad.exe: $(OBJS) resources
50 $(LCCHOME)\bin\lcclnk $(LNKFLAGS) $(OBJS) notepad.res $(LIBS)
51 @echo *** "winepad.exe" successfully created
52
53resources: $(RESOURCES)
54 FOR %%i IN ($(LANGUAGES)) DO $(LCCHOME)\bin\lrc $(LRCFLAGS) %%i.rc
55 copy /b $(LANGUAGE).res notepad.res
56
57clean:
58 if exist winepad.exe erase winepad.exe
59 if exist main.obj erase main.obj
60 if exist dialog.obj erase dialog.obj
61 if exist license.obj erase license.obj
62 if exist license_En.obj erase license_En.obj
63 if exist language.obj erase language.obj
64 if exist notepad.res erase notepad.res
65 FOR %%i IN ($(LANGUAGES)) DO IF EXIST %%i.res erase %%i.res
66 FOR %%i IN ($(LANGUAGES)) DO IF EXIST %%i.map erase %%i.map
67
68help:
69 @echo lccmake help - display this help
70 @echo lccmake - to compile winepad.exe
71 @echo lccmake resources - to compile .res files
72 @echo lccmake clean - to clean up
73
74
75#
76# some more targets (for novice users and compatibility reasons only)
77#
78
79distclean: clean
80 @echo *** next time please use "lccmake clean"
81
82all: winepad.exe
83 @echo *** next time please use "lccmake" (without parameters)
84
85
86#
87# please make sure that at least one empty line follows this statement
88#
89