mirror of
https://github.com/a2stuff/prodos-path.git
synced 2025-01-15 00:30:05 +00:00
Fix make clean, rename cmd sample sources
This commit is contained in:
parent
585c5b0df3
commit
e612444c4b
4
Makefile
4
Makefile
@ -18,7 +18,7 @@ HEADERS = $(wildcard *.inc)
|
||||
clean:
|
||||
rm -f $(OUTDIR)/*.o
|
||||
rm -f $(OUTDIR)/*.list
|
||||
rm -f $(OUTDIR)/$(TARGETS)
|
||||
rm -f $(TARGETS)
|
||||
|
||||
|
||||
$(OUTDIR)/%.o: %.s $(HEADERS)
|
||||
@ -28,5 +28,5 @@ $(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
|
||||
$(CC65)/ld65 $(CCFLAGS) -o $@ $<
|
||||
xattr -wx prodos.AuxType '00 20' $@
|
||||
|
||||
$(OUTDIR)/%.CMD: $(OUTDIR)/%.o
|
||||
$(OUTDIR)/%.CMD: $(OUTDIR)/%.cmd.o
|
||||
$(CC65)/ld65 $(CCFLAGS) -o $@ $<
|
||||
|
@ -27,6 +27,9 @@ Example:
|
||||
```
|
||||
|
||||
Notes:
|
||||
* Allocates a 3 page buffer to store the code and path
|
||||
* Allocates a buffer to store the code and path
|
||||
* Can be invoked as lower case (e.g. `path ...`)
|
||||
* Applesoft BASIC commands are unaffected (but can't be CMD names)
|
||||
|
||||
Future:
|
||||
* Support multi-segment paths (e.g. `/hd/cmds:/hd2/more.cmds`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user