Fixed clean target to include cleaning the v6502 external, and added $(AS) target to build assembler if needed

git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@52 64f78de7-aa59-e511-a0e8-0002a5492df0
This commit is contained in:
Daniel Loffgren 2015-09-21 05:12:53 +00:00
parent b8e7f1f8da
commit 57ffb468bb
1 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,9 @@ $(ROM): $(ROMSRC) $(AS)
$(PROG): $(LIBV6502) $(LIBAS6502) $(LIBDIS6502) $(OBJS)
$(CC) $(OBJS) -o $(PROG) $(LDFLAGS)
$(AS):
$(MAKE) -C $(LIBAS6502_DIR)
$(LIBV6502):
$(MAKE) -C $(LIBV6502_DIR) lib
@ -35,7 +38,7 @@ $(LIBDIS6502):
$(MAKE) -C $(LIBDIS6502_DIR) lib
cleanlib:
rm -f $(LIBV6502) $(LIBV6502_OBJS)
$(MAKE) -C $(V6502_PREFIX) clean
clean: cleanlib
rm -f $(PROG) $(ROM) $(OBJS)