DLL_W32GUICONS       = @DLL_W32GUICONS@
CC                   = @CC@ @CFLAGS_MACHINE@
CFLAGS               = @CFLAGS@
CFLAGS_UNSIGNED_CHAR = @CFLAGS_UNSIGNED_CHAR@
RC                   = @RC@
RCFLAGS              = @RCFLAGS@
LD                   = @LD@
LDFLAGS              = @LDFLAGS@
LDGUILIBS            = @LDGUILIBS@


DLLNAME = $(DLL_W32GUICONS)
OBJDLL  = w32_console@OBJ_SUFFIX@
RESDLL  = w32_console.res


.SUFFIXES:
.SUFFIXES: @OBJ_SUFFIX@ .cpp .c .res .rc $(SUFFIXES)

.cpp@OBJ_SUFFIX@:
	$(CC) -c $(CFLAGS) $(CFLAGS_UNSIGNED_CHAR) $*.cpp

.c@OBJ_SUFFIX@:
	$(CC) -c $(CFLAGS) $(CFLAGS_UNSIGNED_CHAR) $*.c

.rc.res:
	$(RC) $(RCFLAGS) @RC_OUT_NAME_OPT@$*.res $*.rc

all: $(DLLNAME) w32gc_interf@OBJ_SUFFIX@ win_exe_icon.res

$(DLLNAME): $(OBJDLL) $(RESDLL)
	$(LD) $(LDFLAGS) @LD_OUT_NAME_OPT@$(DLLNAME) $(OBJDLL) $(RESDLL) $(LDGUILIBS) @LD_DLL_OPT@

w32gc_interf@OBJ_SUFFIX@: w32gc_interf.h



clean:
	rm -f *@OBJ_SUFFIX@ *.res *.RES $(DLLNAME) *.lib *.exp *.EXP *.idb *.pdb *.ilk

distclean: clean
