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…
Reference in New Issue