# Makefile for miniproc, gcc 3.x variants, most platforms.
# This version leaves out the -I statements of previous ones since
# these seem to be set by default and putting them in results in 
# large numbers of this class of message:
#     /usr/include/sys/strft.h:9: warning: ignoring #pragma ident


CC = gcc
# add -g if debug version is required
CFLAGS = -ansi -pedantic -Wall

TARGET = -o miniproc
LINKLIBS = -lm


SOURCES = \
	miniproc.c

miniproc:
	$(CC) $(TARGET) $(CFLAGS) $(SOURCES) $(LINKLIBS)
