2 # Makefile for win32 bacula executables
3 # Using MinGW cross-compiler on GNU/Linux
5 # Written by Robert Nelson, June 2006
8 include ../Makefile.inc
19 vpath %.c $(MAINDIR)/src/console
20 vpath %.cpp $(MAINDIR)/src/console
22 ##########################################################################
25 $(OBJDIR)/authenticate.o \
27 $(OBJDIR)/console_conf.o
29 ALL_OBJS = $(CONSOLE_OBJS)
31 CONSOLE_LIBS = $(LIBS_NETWORK)
33 ######################################################################
39 all: $(BINDIR)/bconsole.exe
42 @echo "Cleaning `pwd`"
43 $(call clean_obj,$(ALL_OBJS))
44 $(call clean_exe,$(BINDIR)/bconsole.exe)
50 $(BINDIR)/bconsole.exe: $(CONSOLE_OBJS) $(LIBS_BACULA)
51 $(call link_conapp,$(CONSOLE_LIBS))
53 include ../Makefile.rules