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

NPECHO = npecho_client.exe
#npecho_server.exe

NPECHO2 = npecho_client2.exe npecho_server2.exe

all: $(NPECHO) $(NPECHO2)

CC = i586-mingw32msvc-gcc

.SUFFIXES: .c .obj .exe

.c.obj:
	$(CC) $(CFLAGS) -c $< -o $@

.obj.exe:
	$(CC) $(CFLAGS) -o $@ $< $(LIBS)

clean:
	del *~ *.obj *.exe