Rev 77 | Go to most recent revision | 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/shCC = gccTARGET = proj1SRCS = Project1.cOBJS = $(SRCS:.c=.o)HDRS =ANAL = -Wall -Wmissing-prototypes -WshadowCFLAGS = -march=athlon-xp -O3 -fomit-frame-pointer -pipe -fforce-addr -fforce-mem -fweb -ftracer -ffast-math -funit-at-a-timeLIBS =PURIFY = /usr/local/bin/purifyall: $(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)