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

all: npecho_client.exe npecho_server.exe

CC = i586-mingw32msvc-gcc

.SUFFIXES: .c .obj

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

clean:
	del *~ *.obj *.exe 

npecho_client.exe: npecho_client.obj
npecho_server.exe: npecho_server.obj

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