1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/testprogs/win32/prepare_dcpromo/GNUmakefile

22 lines
299 B
Makefile
Raw Normal View History

INCLUDES=-I.
CFLAGS=$(INCLUDES)
LIBS=-ladvapi32
PREPARE_DCPROMO = prepare_dcpromo.exe
all: $(PREPARE_DCPROMO)
MINGW_CC = i586-mingw32msvc-cc
CC = $(MINGW_CC)
.SUFFIXES: .c .obj .exe
.c.obj:
$(CC) $(CFLAGS) -c $< -o $@
.obj.exe:
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
clean:
rm -f *~ *.obj *.exe