#This is the makefile for DJGPP

COMP = dox
EXE = $(COMP).exe
CC = qcl
CFLAGS = /c /DCOMP=$(COMP)
LFLAGS = 
OBJS = dox.obj html.obj rtf.obj text.obj
ZIP=pkzip

.c.obj:
        $(CC) $(CFLAGS) $<

$(EXE): $(OBJS)
        $(CC) $(OBJS) , $(EXE),;

.PHONY: clean resume resume2 zips

clean:
	del *.o
	del $(EXE)

resume: $(EXE)
	$(EXE) resume.rtf -o resume.html
	$(EXE) resume.rtf -o resume.txt

resume2: resume
	$(EXE) resume.html -o resume2.rtf

zips:
	$(ZIP) source *.c *.h makefile.*
	$(ZIP) dox source.zip dox*.exe resume.rtf *.txt
