From c1f35496f616ac47836f53a9a411170b922bf368 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Sat, 4 May 2013 13:41:28 +0200
Subject: [PATCH] Removed obsolete Makefiles.
---
src/sim65/chips/make/gcc.mak | 63 ------------------------------------
src/sim65/cpus/make/gcc.mak | 59 ---------------------------------
2 files changed, 122 deletions(-)
delete mode 100644 src/sim65/chips/make/gcc.mak
delete mode 100644 src/sim65/cpus/make/gcc.mak
diff --git a/src/sim65/chips/make/gcc.mak b/src/sim65/chips/make/gcc.mak
deleted file mode 100644
index 506b1670a..000000000
--- a/src/sim65/chips/make/gcc.mak
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# gcc Makefile for the sim65 chip plugins
-#
-
-# Include directories
-COMMON = ../../common
-SIM65 = ..
-
-CFLAGS = -g -Wall -W -std=c89
-override CFLAGS += -I$(COMMON) -I$(SIM65) -fpic
-CC = gcc
-EBIND = emxbind
-LDFLAGS =
-
-#LIBS = $(COMMON)/common.a
-
-CHIPS = console.so \
- ram.so \
- rom.so \
- stdio.so \
- vic2.so
-
-OBJS = $(CHIPS:.so=.o)
-
-#----------------------------------------------------------------------------
-# Build rules
-
-%.obj: %.c
- $(CC) $(CFLAGS) $^
-
-%.so: %.o
- $(CC) $(CFLAGS) -shared -o $@ $(LIBS) $^ -L /usr/X11R6/lib -lX11
- @if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
-
-#----------------------------------------------------------------------------
-
-.PHONY: all
-ifeq (.depend,$(wildcard .depend))
-all: $(CHIPS)
-include .depend
-else
-all: depend
- @$(MAKE) -f make/gcc.mak all
-endif
-
-
-# Admin stuff
-
-clean:
- rm -f *~ core *.lst
-
-zap: clean
- rm -f *.o $(EXECS) .depend
-
-# ------------------------------------------------------------------------------
-# Make the dependencies
-
-.PHONY: depend dep
-depend dep: $(CHIPS:.so=.c)
- @echo "Creating dependency information"
- $(CC) $(CFLAGS) -MM $^ > .depend
-
-
diff --git a/src/sim65/cpus/make/gcc.mak b/src/sim65/cpus/make/gcc.mak
deleted file mode 100644
index d34aa36a6..000000000
--- a/src/sim65/cpus/make/gcc.mak
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# gcc Makefile for the sim65 CPU plugins
-#
-
-# Include directories
-COMMON = ../../common
-SIM65 = ..
-
-CFLAGS = -g -Wall -W -std=c89
-override CFLAGS += -I$(COMMON) -I$(SIM65) -fpic
-CC = gcc
-EBIND = emxbind
-LDFLAGS =
-
-#LIBS = $(COMMON)/common.a
-
-CPUS = 6502.so
-
-OBJS = $(CPUS:.so=.o)
-
-#----------------------------------------------------------------------------
-# Build rules
-
-%.obj: %.c
- $(CC) $(CFLAGS) $^
-
-%.so: %.o
- $(CC) $(CFLAGS) -shared -o $@ $(LIBS) $^ -L /usr/X11R6/lib -lX11
- @if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
-
-#----------------------------------------------------------------------------
-
-.PHONY: all
-ifeq (.depend,$(wildcard .depend))
-all: $(CPUS)
-include .depend
-else
-all: depend
- @$(MAKE) -f make/gcc.mak all
-endif
-
-
-# Admin stuff
-
-clean:
- rm -f *~ core *.lst
-
-zap: clean
- rm -f *.o $(EXECS) .depend
-
-# ------------------------------------------------------------------------------
-# Make the dependencies
-
-.PHONY: depend dep
-depend dep: $(CPUS:.so=.c)
- @echo "Creating dependency information"
- $(CC) $(CFLAGS) -MM $^ > .depend
-
-
--
2.39.5