From 235d907e558e74b62dfd9f616896775d3c2a6807 Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Sat, 27 Apr 2024 16:16:21 +0200 Subject: [PATCH] hot warm cold (creation) --- Makefile | 48 +++++++++++++++++++++++++++++++++++++++++++++--- cold.c | 4 ++++ cold.h | 14 ++++++++++++++ exec.o | Bin 26536 -> 26728 bytes hot.c | 4 ++++ hot.h | 3 +++ main.c | 2 ++ warm.c | 2 +- warm.h | 3 ++- 9 files changed, 75 insertions(+), 5 deletions(-) create mode 100644 cold.c create mode 100644 cold.h create mode 100644 hot.c create mode 100644 hot.h diff --git a/Makefile b/Makefile index 35a3fe1..7e718ca 100644 --- a/Makefile +++ b/Makefile @@ -15,22 +15,64 @@ OPTIMIZE = -O2 all: exec -exec.o: - $(CC) $(CFLAGS) $(WARNINGS) $(DEBUG) $(OPTIMIZE) warm.c -o $@ main.c +exec.o: hot.c warm.c cold.c main.c Makefile + $(CC) $(CFLAGS) $(WARNINGS) $(DEBUG) $(OPTIMIZE) hot.c warm.c cold.c -o $@ main.c clean: rm -f exec.o +# Builder will call this to install the application before running. install: echo "Installing is not supported" -run: +# Builder uses this target to run your application. +run: exec.o ./exec.o + + + + +#------------------------------------------------------------------------------# +# To study : can the following commands be removed ? # +#------------------------------------------------------------------------------# + +#SHELL = /bin/sh +#.SUFFIXES: +#.SUFFIXES: .c .o .h # is .h useful ? +#.PHONY = run +#.PHONY = clean +#.PHONY: Makefile + +#CC=gcc +#CFLAGS=`pkg-config --cflags gtk4 --libs gtk4` +#WARNINGS = -Wall +#DEBUG = -ggdb -fno-omit-frame-pointer +#OPTIMIZE = -O2 + +# in exec.o: +# $(CC) $(CFLAGS) $(WARNINGS) $(DEBUG) $(OPTIMIZE) +# après les $(...), dans : warm.c -o $@ main.c le $@ peut être supprimé +#all: +# exec + +#install: +# echo "Installing is not supported" + + + + + + +#------------------------------------------------------------------------------# +# Personnal notes & links # +#------------------------------------------------------------------------------# + + # gcc $( pkg-config --cflags gtk4 ) -o exec main.c $( pkg-config --libs gtk4 ) # https://www.gnu.org/software/make/manual/ diff --git a/cold.c b/cold.c new file mode 100644 index 0000000..79e887e --- /dev/null +++ b/cold.c @@ -0,0 +1,4 @@ +#include +#include + +void print_text(GtkWidget *widget, gpointer data) {g_print (data);} diff --git a/cold.h b/cold.h new file mode 100644 index 0000000..bae6424 --- /dev/null +++ b/cold.h @@ -0,0 +1,14 @@ +#include +#include + +void print_text(GtkWidget *widget, gpointer data); +/* + GtkWidget *button_0 = gtk_button_new_with_label ("Quit"); + GtkWidget *button_1 = gtk_button_new_with_label ("I"); + GtkWidget *button_2 = gtk_button_new_with_label ("II"); + GtkWidget *button_3 = gtk_button_new_with_label ("III"); + GtkWidget *button_4 = gtk_button_new_with_label ("IV"); + GtkWidget *button_5 = gtk_button_new_with_label ("V"); +*/ +// GtkToggleButton *tb1 = GTK_TOGGLE_BUTTON (gtk_button_new_with_label ("tb1")); + diff --git a/exec.o b/exec.o index b9b918bc55be96297fb67672fefeb2957a572385..9a622b732fa15f438e104634dc4c0e5b8e3acd1c 100755 GIT binary patch delta 5423 zcmZWt1yoe+)8D0*?iH4hW{D+~2Bnr1>1OE$38f@nSwN(vt{~khBHbljf}}`yC?Nup zf*+#a|NYMYn{&@^p5M&expSX6=Q(q4(MRys2soAlyj8&&BLn6DWMrtod_cAgA6OU| zm7#(ugFqlK2nv!`mA+p6D_Q_pmI`bS+`*;-``uv74Zi!0u#eY)q#$Y#NK^XXTdr51 zZeqUQ;7g!gmJ0Uk+DdjE3*!G1iS;+07yw`AVF80cZj3QN#r3)nSjM5g;o~>Bb%VITC>9ks4v>+f0{U>M!FPcta#S!; zjO#)${(s4GzoTKOYcKir!=?Wg^0y9<%S|q?8;k_N@>H;->qt@%421h%ubzIBr~I$? zzc;4&Cd1$jZUJ%fRN%wkYit5c5Qq_|z@Pxr0N<~z95*QX8v#ZIW-@zM4_+(KQwule zYh~r?WL>48K#qyNF7JBhZlwIL{$K8$23VMzn_Ggw#5hjU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=cK0&<9${RL4^f=XXvuHo8>&m&|rumj&QYV+_*Led?vTRn6+|_Up*k7 zt5@sm*X5mo_PNX!@oyVq6s@xTbSN{0r;kxS60;{aA$Q(%~bAd#zHC^@c|06UU(aT0+cb>ZA7=6tj{YKa3AQ zw>cg1X^$p=w?e&c%KBBCAkwBbTP9*|0TV;Qh`Cc<#jE~}u2kT#!1X8muKK5Gnfc!2 z=qim+0e;VI?HBl#=WX~Rn)E#Nri4c)wc)+J!?-~*DSk6&sVU@dZZI%VyV(BsK`QJ#WH^WLP!ZqpZp#&*gY8d-28g%=)YV9?LwN4*(zi`vez zM_kd2p(J`-&@(Z|UYhj5-EOLQB7wnLvi45KJ|PoHDEBV%!XKlJ)_%gWm=S#o*yCg})uW?D^Sv>DaP z>e+&h4g6O4Y?M2^p_=w-zAsyo)n_=Nq;HJw=EuPWB(x>obHRllilItD%FDFj!Zmk# zC`aKeLBpc$Ct#$CeNtddm%4hiioptP$1A4UeICB^;GHg}}Iwcl(?0ZJ_k` z#ialnv=YM3`=^Xx*w#YW0G+?N8ko|ZLg@Zg$*`z9rKtZ`wZjJQ6qeCn +#include + + diff --git a/hot.h b/hot.h new file mode 100644 index 0000000..ee69459 --- /dev/null +++ b/hot.h @@ -0,0 +1,3 @@ +#include +#include + diff --git a/main.c b/main.c index b05e542..cf5c551 100755 --- a/main.c +++ b/main.c @@ -1,5 +1,7 @@ #include +#include "hot.h" #include "warm.h" +#include "cold.h" static void activate (GtkApplication *app, gpointer user_data) { GtkWidget *button_0 = gtk_button_new_with_label ("Quit"); diff --git a/warm.c b/warm.c index 0f22fe4..4debdbb 100644 --- a/warm.c +++ b/warm.c @@ -12,4 +12,4 @@ // GtkToggleButton *tb1 = GTK_TOGGLE_BUTTON (gtk_button_new_with_label ("tb1")); -void print_text(GtkWidget *widget, gpointer data) {g_print (data);} + diff --git a/warm.h b/warm.h index 2a944d3..6a820f8 100644 --- a/warm.h +++ b/warm.h @@ -13,6 +13,7 @@ #include #include +/* extern GtkWidget *button_0; extern GtkWidget *button_1; extern GtkWidget *button_2; @@ -21,4 +22,4 @@ extern GtkWidget *button_4; extern GtkWidget *button_5; void print_text(char *text); - +*/