summaryrefslogtreecommitdiffstats
path: root/testprogs/win32/prepare_dcpromo/GNUmakefile
blob: 1c9561398ea55a73480379e3a9aff3337f4d0a58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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