# Makefile for DJGPP example program
#
# Erik Jacobsen (jacobsen@metamorph.com)  

# Definitions:

SHELL = /bin/csh

CC = gcc		# This gets replaced by the include statement below

DEF_FLAGS = -DDEBUG 

CFLAGS = -g -Wall -O2 $(DEF_FLAGS)	# Arguments to CC

LIBS = 

OUTPUT_NAME = hello

include /usr/local/lib/makefile.djgpp

all:	hello

MAKER_LIST = main.o 

hello:	$(MAKER_LIST)
	$(CC) $(CFLAGS) $(MAKER_LIST) $(LFLAGS) $(LIBS) -o $(OUTPUT_NAME)
	$(COFF2EXE) $(OUTPUT_NAME)

depend:
	makedepend *.C *.H *.c *.h

clean:
	rm -f *.o $(OUTPUT_NAME) $(OUTPUT_NAME).exe
	
# DO NOT DELETE THIS LINE -- make depend depends on it.

