summaryrefslogtreecommitdiff
path: root/testprogs/win32/npecho/GNUmakefile
blob: 5b4f976949f07cf12c5a123ef9d8c2060a2d2e23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
INCLUDES=-I.
CFLAGS=$(INCLUDES)

NPECHO = npecho_client.exe
#npecho_server.exe

NPECHO2 = npecho_client2.exe npecho_server2.exe

all: $(NPECHO) $(NPECHO2)

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