Removed alternative make scripts.

This commit is contained in:
Andriy Palamarchuk 2002-02-27 18:49:56 +00:00 committed by Alexandre Julliard
parent 8f925ae5c8
commit 7ab787fa87
4 changed files with 0 additions and 174 deletions

View File

@ -1,19 +0,0 @@
@ECHO OFF
rem
rem this is a quick and dirty batch file to recompile control.exe
rem in a native windows environment using LCC. You may want to edit
rem the following line, which should point to your LCC base directory:
rem
set LCCDIR=C:\LCC
rem ---------------------------------------------------
rem it's safe not to change anything behind this line
rem ---------------------------------------------------
if exist control.obj del control.obj
%LCCDIR%\bin\lcc.exe -g2 -I%LCCDIR%\include\ -DWIN32 control.c
%LCCDIR%\bin\lcclnk.exe -o control2.exe control.obj %LCCDIR%\lib\shell32.lib
if exist control.obj del control.obj
:EXIT

View File

@ -1,89 +0,0 @@
#
# Makefile for LCC-WIN32
#
# Copyright 1999 Marcel Baur (mbaur@g26.ethz.ch)
# To be distributed under the Wine License
#
# Use lccmake -f lccmake to use this makefile
#
# See http://www.cs.virgina.edu/~lcc-win32 for
# information about LCC-WIN32
#
#
# LCC home directory
#
LCCHOME=C:\LCC
#
# individual flags for LCC, LCCLNK, LRC
#
CFLAGS=-O -DLCC -g2
LNKFLAGS=-O winepad.exe -subsystem windows
LRCFLAGS=/r /v /m
#
# available languages
#
LANGUAGES=Da De En Es Fi Fr Sw
#
# default language
#
LANGUAGE=En
#
# required include libraries
#
LIBS=SHELL32.LIB
#
# object files
#
OBJS=main.obj dialog.obj license.obj license_En.obj language.obj
#
# ---[ it is save not to change anything behind this line ]--- #
#
winepad.exe: $(OBJS) resources
$(LCCHOME)\bin\lcclnk $(LNKFLAGS) $(OBJS) notepad.res $(LIBS)
@echo *** "winepad.exe" successfully created
resources: $(RESOURCES)
FOR %%i IN ($(LANGUAGES)) DO $(LCCHOME)\bin\lrc $(LRCFLAGS) %%i.rc
copy /b $(LANGUAGE).res notepad.res
clean:
if exist winepad.exe erase winepad.exe
if exist main.obj erase main.obj
if exist dialog.obj erase dialog.obj
if exist license.obj erase license.obj
if exist license_En.obj erase license_En.obj
if exist language.obj erase language.obj
if exist notepad.res erase notepad.res
FOR %%i IN ($(LANGUAGES)) DO IF EXIST %%i.res erase %%i.res
FOR %%i IN ($(LANGUAGES)) DO IF EXIST %%i.map erase %%i.map
help:
@echo lccmake help - display this help
@echo lccmake - to compile winepad.exe
@echo lccmake resources - to compile .res files
@echo lccmake clean - to clean up
#
# some more targets (for novice users and compatibility reasons only)
#
distclean: clean
@echo *** next time please use "lccmake clean"
all: winepad.exe
@echo *** next time please use "lccmake" (without parameters)
#
# please make sure that at least one empty line follows this statement
#

View File

@ -1,19 +0,0 @@
WINE = ../../wine
LCCINC = c:\\lcc\\include
OBJS = view.obj init.obj winmain.obj
RES = viewrc.res
.SUFFIXES: .rc .obj .res
.c.obj:
$(WINE) "lcc -I$(LCCINC) $<"
.rc.res:
$(WINE) "lrc $<"
view.exe: $(OBJS) $(RES)
$(WINE) "lcclnk $(OBJS) $(RES)"
clean:
rm *.exe *.obj *.res

View File

@ -1,47 +0,0 @@
#-----------------------------------------------------------------------------
VERSION = BCB.01
#-----------------------------------------------------------------------------
!ifndef BCB
BCB = $(MAKEDIR)\..
!endif
PROJECT = wcmd.exe
OBJFILES = builtins.obj wcmdmain.obj directory.obj batch.obj
RESFILES = wcmdrc.rc
RESDEPEN = $(RESFILES)
LIBFILES =
DEFFILE =
#-----------------------------------------------------------------------------
CFLAG1 = -c
CFLAG2 = -H=C:\BC\PROJECTS\CMD.CSM -nC:\BC\PROJECTS\CMD \
-IC:\BC\INCLUDE;C:\BC\PROJECTS\CMD
PFLAGS = -U$(BCB)\lib\obj -jph -m
RFLAGS = -I$(BCB)\include;C:\BC\INCLUDE;C:\BC\PROJECTS\CMD
LFLAGS = -ap -Tpe -c -x -L$(BCB)\lib;$(BCB)\lib\obj;C:\BC\LIB
IFLAGS = -i
LINKER = tlink32
#-----------------------------------------------------------------------------
ALLOBJ = c0x32.obj $(OBJFILES)
ALLRES = $(RESFILES)
ALLLIB = $(LIBFILES) noeh32.lib import32.lib cw32mt.lib
# ---------------------------------------------------------------------------
.autodepend
$(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
$(BCB)\BIN\$(LINKER) @&&!
$(LFLAGS) +
$(ALLOBJ), +
$(PROJECT),, +
$(ALLLIB), +
$(DEFFILE), +
$(ALLRES)
!
.cpp.obj:
$(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $*
.c.obj:
$(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $**
.rc.res:
$(BCB)\BIN\brcc32 $(RFLAGS) $<
#-----------------------------------------------------------------------------