diff options
Diffstat (limited to 'testprogs/win32/npecho/GNUmakefile')
-rwxr-xr-x | testprogs/win32/npecho/GNUmakefile | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/testprogs/win32/npecho/GNUmakefile b/testprogs/win32/npecho/GNUmakefile index 33cf95def1..64fb79f5cc 100755 --- a/testprogs/win32/npecho/GNUmakefile +++ b/testprogs/win32/npecho/GNUmakefile @@ -1,20 +1,23 @@ INCLUDES=-I. -CFLAGS=$(INCLUDES) +CFLAGS=$(INCLUDES) -all: npecho_client.exe npecho_server.exe +NPECHO = npecho_client.exe +#npecho_server.exe + +NPECHO2 = npecho_client2.exe npecho_server2.exe + +all: $(NPECHO) $(NPECHO2) CC = i586-mingw32msvc-gcc -.SUFFIXES: .c .obj +.SUFFIXES: .c .obj .exe -.c.obj: +.c.obj: $(CC) $(CFLAGS) -c $< -o $@ -clean: - del *~ *.obj *.exe +.obj.exe: + $(CC) $(CFLAGS) -o $@ $< $(LIBS) -npecho_client.exe: npecho_client.obj -npecho_server.exe: npecho_server.obj +clean: + del *~ *.obj *.exe -%.exe: - $(CC) $(CFLAGS) -o $@ $< $(LIBS) |