Compare commits
7 Commits
e40cb98849
...
864e06618f
Author | SHA1 | Date |
---|---|---|
Jean Sirmai | 864e06618f | |
Jean Sirmai | 73c474b765 | |
Jean Sirmai | 43ddfad3af | |
Jean Sirmai | 60f5b7a00d | |
Jean Sirmai | 549431196b | |
Jean Sirmai | 93e19a618c | |
Adrien Bourmault | 74a79e0cf5 |
|
@ -1,2 +1,5 @@
|
||||||
bin/*
|
bin/*
|
||||||
build/*
|
build/*
|
||||||
|
docs/html/*
|
||||||
|
docs/rtfm/man3/*
|
||||||
|
scripts/junk
|
12
Makefile
|
@ -1,4 +1,4 @@
|
||||||
.PHONY: run clean install all
|
.PHONY: run clean install all docs
|
||||||
.DELETE_ON_ERROR: $(BINDIR)/Getting_Started_with_GTK
|
.DELETE_ON_ERROR: $(BINDIR)/Getting_Started_with_GTK
|
||||||
.DEFAULT_GOAL: all
|
.DEFAULT_GOAL: all
|
||||||
|
|
||||||
|
@ -6,8 +6,9 @@ CPUS ?= $(shell (nproc --all || sysctl -n hw.ncpu) 2>/dev/null || echo 1)
|
||||||
MAKEFLAGS += --jobs=$(CPUS)
|
MAKEFLAGS += --jobs=$(CPUS)
|
||||||
|
|
||||||
CC=gcc
|
CC=gcc
|
||||||
CFLAGS=`pkg-config --cflags gtk4 gl glib-2.0 libxml-2.0`
|
DOXYGEN=doxygen
|
||||||
LDFLAGS=`pkg-config --libs gtk4 gl glib-2.0 libxml-2.0` -lGL -lGLU -lm -lepoxy -lX11 -lGLEW
|
CFLAGS=`pkg-config --cflags gtk4 epoxy glib-2.0 libxml-2.0`
|
||||||
|
LDFLAGS=`pkg-config --libs gtk4 epoxy glib-2.0 libxml-2.0` -lGL -lGLU -lm -lepoxy -lX11 -lGLEW
|
||||||
WARNINGS = -Wall
|
WARNINGS = -Wall
|
||||||
DEBUG = -ggdb -fno-omit-frame-pointer #-fdiagnostics-color=always -fsanitize=bounds -fstack-check
|
DEBUG = -ggdb -fno-omit-frame-pointer #-fdiagnostics-color=always -fsanitize=bounds -fstack-check
|
||||||
OPTIMIZE = -O3
|
OPTIMIZE = -O3
|
||||||
|
@ -15,6 +16,7 @@ OPTIMIZE = -O3
|
||||||
BINDIR=bin
|
BINDIR=bin
|
||||||
BUILDDIR=build
|
BUILDDIR=build
|
||||||
SRCDIR=src
|
SRCDIR=src
|
||||||
|
DOCSDIR=docs
|
||||||
|
|
||||||
SOURCES = $(shell find $(SRCDIR) -type f -name "*.c")
|
SOURCES = $(shell find $(SRCDIR) -type f -name "*.c")
|
||||||
OBJECTS = $(patsubst %.c,$(BUILDDIR)/%.o,$(SOURCES))
|
OBJECTS = $(patsubst %.c,$(BUILDDIR)/%.o,$(SOURCES))
|
||||||
|
@ -69,6 +71,10 @@ install:
|
||||||
run: $(BINDIR)/gem-graph-client
|
run: $(BINDIR)/gem-graph-client
|
||||||
$(BINDIR)/gem-graph-client
|
$(BINDIR)/gem-graph-client
|
||||||
|
|
||||||
|
docs: $(SOURCES) $(DEPENDENCIES)
|
||||||
|
@$(DOXYGEN) $(DOCSDIR)/doxyfile
|
||||||
|
@echo " DOXYGEN $(DOCSDIR)/doxyfile"
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf $(BINDIR)
|
@rm -rf $(BINDIR)
|
||||||
@echo " RM $(BINDIR)"
|
@echo " RM $(BINDIR)"
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# Fichier de commande pour gnuplot
|
||||||
|
# En ligne de commande : load "data/gnuplot/a_cmd.plt"
|
||||||
|
#
|
||||||
|
set zeroaxis
|
||||||
|
plot cos(x),\
|
||||||
|
sin(x)
|
||||||
|
|
||||||
|
reset
|
|
@ -0,0 +1,15 @@
|
||||||
|
-7.000 -0.657
|
||||||
|
-6.000 0.279
|
||||||
|
-5.000 0.959
|
||||||
|
-4.000 0.757
|
||||||
|
-3.000 -0.141
|
||||||
|
-2.000 -0.909
|
||||||
|
-1.000 -0.841
|
||||||
|
0.000 0.000
|
||||||
|
1.000 0.841
|
||||||
|
2.000 0.909
|
||||||
|
3.000 0.141
|
||||||
|
4.000 -0.757
|
||||||
|
5.000 -0.959
|
||||||
|
6.000 -0.279
|
||||||
|
7.000 0.657
|
|
@ -0,0 +1 @@
|
||||||
|
Jean Sirmai,jean,n-guix-port,03.08.2024 17:28,file:///home/jean/.config/libreoffice/4;
|
|
@ -0,0 +1 @@
|
||||||
|
Jean Sirmai,jean,n-guix-port,03.08.2024 17:28,file:///home/jean/.config/libreoffice/4;
|
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 105 KiB |
After Width: | Height: | Size: 285 KiB |
After Width: | Height: | Size: 1.5 MiB |
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 1.6 MiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 148 KiB |
After Width: | Height: | Size: 140 KiB |
After Width: | Height: | Size: 148 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 119 KiB |
After Width: | Height: | Size: 131 KiB |
After Width: | Height: | Size: 121 KiB |
After Width: | Height: | Size: 137 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 141 KiB |
After Width: | Height: | Size: 132 KiB |
After Width: | Height: | Size: 185 KiB |
After Width: | Height: | Size: 153 KiB |
After Width: | Height: | Size: 180 KiB |
After Width: | Height: | Size: 190 KiB |
After Width: | Height: | Size: 128 KiB |
After Width: | Height: | Size: 167 KiB |
After Width: | Height: | Size: 140 KiB |
After Width: | Height: | Size: 152 KiB |
After Width: | Height: | Size: 707 KiB |
After Width: | Height: | Size: 702 KiB |
After Width: | Height: | Size: 256 KiB |
After Width: | Height: | Size: 113 KiB |
After Width: | Height: | Size: 568 KiB |
After Width: | Height: | Size: 308 KiB |
After Width: | Height: | Size: 151 KiB |
After Width: | Height: | Size: 161 KiB |
After Width: | Height: | Size: 178 KiB |
After Width: | Height: | Size: 491 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 955 B |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 983 B |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1016 B |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 884 B |
After Width: | Height: | Size: 2.6 KiB |