CVE-2013-4476: lib-util: add file_check_permissions()
[Samba.git] / testprogs / win32 / prepare_dcpromo / GNUmakefile
blob1c9561398ea55a73480379e3a9aff3337f4d0a58
1 INCLUDES=-I.
2 CFLAGS=$(INCLUDES)
3 LIBS=-ladvapi32
5 PREPARE_DCPROMO = prepare_dcpromo.exe
7 all: $(PREPARE_DCPROMO)
9 MINGW_CC = i586-mingw32msvc-cc
10 CC = $(MINGW_CC)
12 .SUFFIXES: .c .obj .exe
14 .c.obj:
15 $(CC) $(CFLAGS) -c $< -o $@
17 .obj.exe:
18 $(CC) $(CFLAGS) -o $@ $< $(LIBS)
20 clean:
21 rm -f *~ *.obj *.exe