ref: e12cb95079f001aae1b1eeecd2463ccc61da1c30
parent: 8a7adf4c3b0fc70c05f44b2d429cfe2dd4cd5428
author: Vegard Nossum <[email protected]>
date: Thu Jun 11 02:58:10 EDT 2009
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 <[email protected]>
--- a/src/asm/gameboy/makefile
+++ /dev/null
@@ -1,18 +1,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
-
-
--- a/src/asm/makeinit
+++ /dev/null
@@ -1,33 +1,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)
\ No newline at end of file
--- a/src/asm/stdmake
+++ /dev/null
@@ -1,40 +1,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
\ No newline at end of file
--- a/src/lib/makefile
+++ /dev/null
@@ -1,62 +1,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
\ No newline at end of file
--- a/src/link/makefile
+++ /dev/null
@@ -1,63 +1,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
\ No newline at end of file
--- a/src/rgbfix/makefile
+++ /dev/null
@@ -1,57 +1,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
\ No newline at end of file