# Makefile for miniproc, gcc variant, most platforms.  The IFDIR is required
# for some variants of gcc.

CC = gcc
# add -g if debug version is required
CFLAGS = -ansi -pedantic -DS_IFDIR=0040000 -Wall -I /usr/include -I /usr/include/sys

TARGET = -o miniproc
LINKLIBS = -lm


SOURCES = \
	miniproc.c

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