build: rip out obsolete makefiles for obsolete platforms

We don't support DOS/Win32, so these are not needed anymore...

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
This commit is contained in:
Vegard Nossum
2009-06-11 06:58:10 +02:00
parent 8a7adf4c3b
commit e12cb95079
6 changed files with 0 additions and 273 deletions

View File

@@ -1,18 +0,0 @@
.ERASE
.EXTENSIONS:
.EXTENSIONS: .obj .c .l .y .h
!include ..\MAKEINIT
!ifeq TARGET DOS
EXE = rgbasm.exe
!endif
!ifeq TARGET WIN95
EXE = rgbasm95.exe
!endif
TARGET_SYSTEM = GAMEBOY
!include ..\STDMAKE

View File

@@ -1,33 +0,0 @@
!ifndef TARGET
TARGET = DOS
!endif
!ifeq TARGET DOS
!else
!ifeq TARGET WIN95
!else
!error Invalid TARGET (must be DOS or WIN95)
!endif
!endif
BISONOPT= --verbose -d
BISON = bison $(BISONOPT)
!ifeq TARGET DOS
OBJDIR = OBJS\
COPT = /zp4 /5s /fp3 /d2 /oneatx /i=..\include -i=..\.. /d2 /wx /bt=DOS
!endif
!ifeq TARGET WIN95
OBJDIR = OBJS95\
COPT = /zp4 /5s /fp3 /d2 /oneatx /i=..\include -i=..\.. /d2 /wx /bt=NT
ALLOCA = alloca.obj
!endif
.y: .;..
.c: .;..
.h: ..\include
.obj: $(OBJDIR)
OBJS = asmy.obj main.obj fstack.obj globlex.obj &
lexer.obj math.obj output.obj rpn.obj &
symbol.obj locallex.obj $(ALLOCA)

View File

@@ -1,40 +0,0 @@
CC = wcc386 $(COPT) /d$(TARGET_SYSTEM)
all: $(EXE)
$(EXE): $(OBJS)
%create link.lnk
!ifeq TARGET DOS
%append link.lnk system pmodew
!endif
!ifeq TARGET WIN95
%append link.lnk system nt
!endif
%append link.lnk option map
%append link.lnk option stack=256k
%append link.lnk debug watcom all
%append link.lnk name $(EXE)
for %i in ($(OBJS)) do %append link.lnk file $(OBJDIR)\%i
wlink @link.lnk
!ifeq TARGET DOS
d:\code\pmodew\pmwsetup /B0 $(EXE)
!endif
.c.obj: .AUTODEPEND
$(CC) -fo=$(OBJDIR)$^. $[@
.y.c:
$(BISON) -o $^. $[.
asmy.y: ..\yaccprt1.y ..\yaccprt3.y yaccprt2.y yaccprt4.y
copy ..\yaccprt1.y+yaccprt2.y+..\yaccprt3.y+yaccprt4.y asmy.y
clean: .SYMBOLIC
del $(OBJDIR)*.obj
del asmy.*
del *.err
del $(EXE)
del *.map
del link.lnk

View File

@@ -1,62 +0,0 @@
.ERASE
.EXTENSIONS:
.EXTENSIONS: .obj .c .h
!ifndef TARGET
TARGET = DOS
!endif
!ifeq TARGET DOS
!else
!ifeq TARGET WIN95
!else
!error Invalid TARGET (must be DOS or WIN95)
!endif
!endif
!ifeq TARGET DOS
COPT = /zp4 /5s /fp3 /d2 /oneatx /i=include /i=.. /d2 /wx /bt=dos
OBJDIR = OBJS\
EXE = xlib.exe
!endif
!ifeq TARGET WIN95
COPT = /zp4 /5s /fp3 /d2 /oneatx /i=include /i=.. /d2 /wx /bt=nt
OBJDIR = OBJS95\
EXE = xlib95.exe
!endif
C = wcc386 $(COPT)
.c: .
.h: include
.obj: $(OBJDIR)
OBJS = main.obj library.obj
$(EXE) : $(OBJS)
%create link.lnk
!ifeq TARGET DOS
%append link.lnk system pmodew
!endif
!ifeq TARGET WIN95
%append link.lnk system nt
!endif
%append link.lnk option map
%append link.lnk option stack=64k
%append link.lnk debug watcom all
%append link.lnk name $(EXE)
for %i in ($(OBJS)) do %append link.lnk file $(OBJDIR)\%i
wlink @link.lnk
!ifeq TARGET DOS
d:\code\pmodew\pmwsetup /B0 $(EXE)
!endif
.c.obj : .AUTODEPEND
$(C) -fo=$(OBJDIR)$^. $[.
clean: .SYMBOLIC
del $(OBJDIR)*.obj
del *.err
del $(EXE)
del *.map
del link.lnk

View File

@@ -1,63 +0,0 @@
.ERASE
.EXTENSIONS:
.EXTENSIONS: .obj .c .h
!ifndef TARGET
TARGET = DOS
!endif
!ifeq TARGET DOS
!else
!ifeq TARGET WIN95
!else
!error Invalid TARGET (must be DOS or WIN95)
!endif
!endif
!ifeq TARGET DOS
COPT = /zp4 /5s /fp3 /d2 /oneatx /i=include /i=.. /wx /bt=dos
OBJDIR = OBJS\
EXE = xlink.exe
!endif
!ifeq TARGET WIN95
COPT = /zp4 /5s /fp3 /d3 /oneatx /i=include /i=.. /d2 /wx /bt=nt
OBJDIR = OBJS95\
EXE = xlink95.exe
!endif
C = wcc386 $(COPT)
.c: .
.h: include
.obj: $(OBJDIR)
OBJS = main.obj object.obj assign.obj symbol.obj &
patch.obj output.obj mapfile.obj library.obj
$(EXE) : $(OBJS)
%create link.lnk
!ifeq TARGET DOS
%append link.lnk system pmodew
!endif
!ifeq TARGET WIN95
%append link.lnk system nt
!endif
%append link.lnk option map
%append link.lnk option stack=64k
%append link.lnk debug watcom all
%append link.lnk name $(EXE)
for %i in ($(OBJS)) do %append link.lnk file $(OBJDIR)\%i
wlink @link.lnk
!ifeq TARGET DOS
d:\code\pmodew\pmwsetup /B0 $(EXE)
!endif
.c.obj : .AUTODEPEND
$(C) -fo=$(OBJDIR)$^. $[.
clean: .SYMBOLIC
del $(OBJDIR)*.obj
del *.err
del $(EXE)
del *.map
del link.lnk

View File

@@ -1,57 +0,0 @@
.ERASE
!ifndef TARGET
TARGET = DOS
!endif
!ifeq TARGET DOS
!else
!ifeq TARGET WIN95
!else
!error Invalid TARGET (must be DOS or WIN95)
!endif
!endif
!ifeq TARGET DOS
OBJDIR = OBJS\
COPT = /zp4 /fp3 /d2 /oneatx /i=include -i=..\ /d2 /wx /bt=DOS
CC = wcc $(COPT)
EXE = rgbfix.exe
!endif
!ifeq TARGET WIN95
OBJDIR = OBJS95\
COPT = /zp4 /5s /fp3 /d2 /oneatx /i=include -i=..\ /d2 /wx /bt=NT
CC = wcc386 $(COPT)
EXE = rgbfix95.exe
!endif
OBJS = main.obj
.c:
.h: include
.obj: $(OBJDIR)
.exe:
$(EXE): $(OBJS)
%create link.lnk
!ifeq TARGET DOS
%append link.lnk system dos
!endif
!ifeq TARGET WIN95
%append link.lnk system nt
!endif
%append link.lnk option map
%append link.lnk debug watcom all
%append link.lnk name $(EXE)
for %i in ($(OBJS)) do %append link.lnk file $(OBJDIR)\%i
wlink @link.lnk
.c.obj: .AUTODEPEND
$(CC) -fo=$(OBJDIR)$^. $[@
clean: .SYMBOLIC
del $(OBJDIR)*.obj
del *.err
del $(EXE)
del *.map
del link.lnk