diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-15 05:34:32 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-15 05:34:32 -0400 |
| commit | e237b6858830f9d8355b7ae91506bf6af3f15009 (patch) | |
| tree | ce7150380522af2d52f7bc0cb43455f18b40d377 /Makefile | |
| parent | ffebfdcc4f37d905ccb1a21105e2998b5af9bc55 (diff) | |
| download | fujinet-chat-e237b6858830f9d8355b7ae91506bf6af3f15009.tar.gz | |
Embed git hash and build host in binary.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,6 +2,8 @@ PARTS=loading1.xex config/config.xex loading2.xex memsetup.xex font_dl.xex clien TESTXEX=fnchat-$(shell date +%Y%m%d-%H%M).xex +VERSION:=$(shell git describe --long 2>/dev/null || echo NOGIT )+$(shell date +%Y%m%d-%H%M )@$(shell hostname -s 2>/dev/null || echo UNKNOWN ) + # remove the -a if using older versions of atasm ATASM=atasm -s -a @@ -14,10 +16,10 @@ fnchat.xex: $(PARTS) client.xex: client client: - $(MAKE) -f Makefile.client + $(MAKE) -f Makefile.client VERSION=$(VERSION) config/config.xex: - $(MAKE) -C config + $(MAKE) -C config VERSION=$(VERSION) clean: rm -f $(PARTS) *.o src/*.o obj/atari/*.o config/*.o fnchat.xex |
