Rev 100 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#
# Makefile for readconf test program
#
# Add -DSYSV to CFLAGS for System V machines (e.g. Solaris 2.x).
# Add -DSTRCASECMP for systems that don't have it.
#
SHELL = /bin/sh
CC = gcc
TARGET = proj1
SRCS = Project1.c
OBJS = $(SRCS:.c=.o)
HDRS =
ANAL = -Wall -Wmissing-prototypes -Wshadow
CFLAGS = -march=athlon-xp -O3 -fomit-frame-pointer -pipe -fforce-addr -fforce-mem -fweb -ftracer -ffast-math -funit-at-a-time -DFAST_MEMCPY
LIBS =
PURIFY = /usr/local/bin/purify
all: $(TARGET)
purify: purify-$(TARGET)
$(OBJS): $(HDRS)
$(TARGET): $(OBJS)
$(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LIBS)
purify-$(TARGET): $(OBJS)
$(PURIFY) $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LIBS)
clean:
-rm *.o $(TARGET)