DEBUG = 0

INCLUDES = -I../../server/include -I../../../x11

!IF DEFINED(DEBUG)
!IF "$(DEBUG)"=="1"
CFLAGS = $(INCLUDES) /G2 /Oecilgs /Gs /AL /nologo /Zi
LFLAGS = /NOLOGO /CODEVIEW /STACK:4096
!ELSE
CFLAGS = $(INCLUDES) /G2 /Oecilgs /Gs /AL /nologo
LFLAGS = /NOLOGO /STACK:4096
!ENDIF
!ENDIF

all:	bdftosnf.exe showsnf.exe

OBJS1 = bdftosnf.obj fontutil.obj 
OBJS2 = showsnf.obj  fontutil.obj 

bdftosnf.exe: $(OBJS1)
	link $(LFLAGS) $(OBJS1), $@ ;

showsnf.exe: $(OBJS2)
	link $(LFLAGS) $(OBJS2), $@ ;

clean :
    	-del *.obj

cleanall : clean
    	-del *.exe
