cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit 0fd90142c70e99f1e2d11a80bf1423d0c46b1581
parent 2642acecb364bec874bf6dca1cbfa0e2a2e2d487
Author: cnlohr <lohr85@gmail.com>
Date:   Sun, 29 Sep 2019 20:00:51 -0400

Add Linux OpenGL target for cnping

Diffstat:
MMakefile | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -24,6 +24,9 @@ cnping.exe : cnping.c rawdraw/CNFGFunctions.c rawdraw/CNFGWinDriver.c ping.c htt cnping : cnping.o rawdraw/CNFGFunctions.o rawdraw/CNFGXDriver.o ping.o httping.o $(CC) $(CFLAGS) -o $@ $^ -lX11 -lm -lpthread $(LDFLAGS) +cnping_ogl : cnping.c rawdraw/CNFGFunctions.c rawdraw/CNFGXDriver.c ping.c httping.c + $(CC) $(CFLAGS) -o $@ $^ -DCNFGOGL $(CFLAGS) -s -lX11 -lm -lpthread $(LDFLAGS) -lGL + cnping_mac : cnping.c rawdraw/CNFGFunctions.c rawdraw/CNFGCocoaCGDriver.m ping.c httping.o $(CC) -o cnping $^ -x objective-c -framework Cocoa -framework QuartzCore -lm -lpthread