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:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -5,6 +5,8 @@
|
||||
tags
|
||||
cscope.*
|
||||
em
|
||||
emlink
|
||||
intsize
|
||||
magrst
|
||||
magsav
|
||||
mtread
|
||||
@@ -14,6 +16,7 @@ ptextu
|
||||
showdrive
|
||||
smad
|
||||
smag
|
||||
strip8
|
||||
time
|
||||
untap
|
||||
untap16
|
||||
|
||||
2
makefile
2
makefile
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user