#----------------------------------------------------------------------------
# Modul:				EDITOR
# Datei:				makefile
# Copyright:		 DBS Bremen 1990
#
# Version:      	ED 1.00 / windows 3.0
# Autor:        	J. Tebbe
#----------------------------------------------------------------------------

BASENAME=editor
CODEVIEW = cl -c -W2 -AS -Gsw -Od -Zpei
NORMALDEV = cl -c -W2 -AS -Gsw -Od -Zpe
RETAIL = cl -c -W2 -AS -Gsw -Ot -Zp

.c.obj: 
	$(RETAIL) $*.c

# Create run file
$(BASENAME).exe: $(BASENAME).res \
		$(BASENAME).obj \
		$(BASENAME).lnk \
		$(BASENAME).def
	link4 @$(BASENAME).lnk
	rc $(BASENAME).res


# Create Resource file
$(BASENAME).res: $(BASENAME).rc $(BASENAME).h 
	rc -r $(BASENAME).rc


# Create .obj files
$(BASENAME).obj: $(BASENAME).c $(BASENAME).h

# End of makefile
