1
0
mirror of https://github.com/prirun/p50em.git synced 2026-03-26 18:03:16 +00:00

Add all utilities to gitignore.

Make rev stamp work for either hg or git repos.
Automate more utility building with makefile changes.
This commit is contained in:
Dennis Boone
2020-03-11 00:01:49 +00:00
parent aaba33931c
commit 7c3c71e147
3 changed files with 10 additions and 11 deletions

3
.gitignore vendored
View File

@@ -5,6 +5,8 @@
tags
cscope.*
em
emlink
intsize
magrst
magsav
mtread
@@ -14,6 +16,7 @@ ptextu
showdrive
smad
smag
strip8
time
untap
untap16

View File

@@ -1,6 +1,6 @@
# makefile to create various emulator builds
REV=${shell hg id -n}
REV=${shell [ -d .hg ] && hg id -n || git rev-parse --short HEAD}
.PHONY: em emwarn debug trace fixed

View File

@@ -1,12 +1,8 @@
default: emlink intsize magrst magsav mtread mtwrite ptextu strip8 \
untap untap16 untap_vin utextp
# Unix version of Prime's magrst
magrst: magrst.c istext.c
magrst: # Unix version of Prime's magrst
rm -rf magrst.o
cc -o magrst magrst.c istext.c
magsav: # Unix version of Prime's magsav
rm -rf magsav.o
cc -o magsav magsav.c istext.c
# Unix version of Prime's magsav
magsav: magsav.c istext.c