mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
22 lines
299 B
Makefile
22 lines
299 B
Makefile
|
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
|