|
Home - Old Man Programmer
| Displaying projects/sac/fixers//Makefile
# $Copyright: $
# Copyright (c) 1997 by Steve Baker
# All Rights reserved
#
# This software is provided as is without any express or implied
# warranties, including, without limitation, the implied warranties
# of merchant-ability and fitness for a particular purpose.
CC=gcc
# For Intel platforms:
CFLAGS=-Wall -O2 -fomit-frame-pointer -m486
# For everything else:
# CFLAGS=-Wall -O2
# For debugging
#CFLAGS=-ggdb
# Comment this if doing debugging.
LDFLAGS=-s
all: fixtmp fixtime fixterm
fixtime: fixtime.o
fixtime.o: fixtime.c
fixterm: fixterm.o
fixterm.o: fixterm.c
fixtmp: fixtmp.o
fixtmp.o: fixtmp.c
clean:
if [ -e fixtmp ]; then rm fixtmp; fi
if [ -e fixtime ]; then rm fixtime; fi
if [ -e fixterm ]; then rm fixterm; fi
if [ -e fixtmp -o -e fixtime.o -o -e fixterm.o ]; then rm *.o; fi
|