From 52fd6ca5139c03ff9e30cf6cc9b5b52b9ed80ab1 Mon Sep 17 00:00:00 2001 From: mpc Date: Tue, 22 Jun 2004 22:49:59 +0000 Subject: [PATCH] Get rid of Debian-specific Makefile -- gcc < 3.0 is obsolete --- apps/sam/c/Makefile.debian | 65 -------------------------------------- apps/sam/c/Makefile.linux | 2 +- 2 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 apps/sam/c/Makefile.debian diff --git a/apps/sam/c/Makefile.debian b/apps/sam/c/Makefile.debian deleted file mode 100644 index 8f7b9f390..000000000 --- a/apps/sam/c/Makefile.debian +++ /dev/null @@ -1,65 +0,0 @@ -# -# This Makefile is compatible with GNU Make and should work on Linux -# (Tested on Debian 3.0) -# - -# -# Your operating system -# - -OS = LINUX - -# -# Directories -# - -INCDIR = inc -LIBDIR = lib -OBJDIR = obj -SRCDIR = src - -# -# Programs -# - -AR = ar -CC = gcc-3.0 - -# -# Flags -# - -CFLAGS = -g -march=i486 -O2 -pipe -std=c99 -Wall -CFLAGS += -DOS=$(OS) -CFLAGS += -I$(INCDIR) - -# -# Object files -# - -OBJS = $(OBJDIR)/sam.o \ - $(OBJDIR)/strl.o - -# -# Build rules -# - -all: depend libsam - -depend: - $(CC) $(CFLAGS) -MM $(SRCDIR)/*.c > .depend - -$(OBJDIR)/%.o: $(SRCDIR)/%.c - $(CC) $(CFLAGS) -o $@ -c $< - -libsam: $(OBJS) - $(AR) rcs $(LIBDIR)/libsam.a $(OBJS) - -# -# Cleanup rules -# - -clean: - -rm -f $(LIBDIR)/libsam.a $(OBJDIR)/* .depend - -tidy: clean diff --git a/apps/sam/c/Makefile.linux b/apps/sam/c/Makefile.linux index a3e5b779b..dee17be6e 100644 --- a/apps/sam/c/Makefile.linux +++ b/apps/sam/c/Makefile.linux @@ -28,7 +28,7 @@ CC = gcc # Flags # -CFLAGS = -g -march=i486 -O2 -pipe -std=c99 -Wall +CFLAGS = -g -O2 -pipe -std=c99 -Wall CFLAGS += -DOS=$(OS) CFLAGS += -I$(INCDIR)