first milestone reached
This commit is contained in:
9
Code/tools/Makefile
Normal file
9
Code/tools/Makefile
Normal 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 $@
|
||||
|
||||
15
Code/tools/show_my_version.c
Normal file
15
Code/tools/show_my_version.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user