first milestone reached

This commit is contained in:
Tonton Th
2026-05-27 16:25:47 +02:00
parent 2b13f88f87
commit aa226bb38e
17 changed files with 197 additions and 31 deletions

9
Code/tools/Makefile Normal file
View File

@@ -0,0 +1,9 @@
#
# MYRYSROVER VIBECODED UTILITIES
#
DEPS = ../common/protocol.o ../common/protocol.h
show_my_version: show_my_version.c $(DEPS) Makefile
gcc -Wall -g $< ../common/protocol.o -o $@

View File

@@ -0,0 +1,15 @@
#include <stdio.h>
#include <unistd.h>
#include "../common/protocol.h"
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
int main(int argc, char *argv[])
{
(void)show_the_version(42, "why not ?");
fprintf(stderr, "$$$$ %s compiled at %s %s\n",
argv[0], __DATE__, __TIME__);
return 0;
}