# Targets
export SUPER3_SYS=$(H316)/sys/super3.sys
+export SUPER2_SYS=$(H316)/sys/super2.sys
export SUPER3_SLST=$(H316)/slst/super3.slst
+export SUPER2_SLST=$(H316)/slst/super2.slst
# Used files
export LDR_APM_8K=$(H316)/slst/ldr-apm_8k.slst
export LDR_APM=$(H316)/obj/ldr-apm.obj
export LDR_DUMY=$(H316)/obj/ldr-dumy.obj
export PRNTNZ=$(H316)/obj/prntnz.obj
-export CLEANUP=$(H316)/programs/tools/build/cleanup2.obj
+export CLEANUP2=$(H316)/programs/tools/build/cleanup2.obj
+export CLEANUP=$(H316)/programs/tools/build/cleanup.obj
export BINAL=$(H316)/programs/tools/build/binal.obj
+export PAL_AP=$(H316)/obj/pal-ap.obj
export RESTART=$(H316)/programs/tools/build/restart.obj
export MAKE
-all: super3
+all: super3 super2
+super2: $(SUPER2_SLST)
super3: $(SUPER3_SLST)
+$(SUPER2_SLST): $(LDR_APM_8K) $(LDR_APM) $(LDR_DUMY) $(PRNTNZ)\
+ $(CLEANUP) $(PAL_AP)
+ ./build_super2.sh
+
$(SUPER3_SLST): $(LDR_APM_8K) $(LDR_APM) $(LDR_DUMY) $(PRNTNZ)\
- $(CLEANUP) $(BINAL)
+ $(CLEANUP2) $(BINAL) $(RESTART)
./build_super3.sh
clean:
- rm -f $(SUPER3_SLST) $(SUPER3_SYS)
+ rm -f $(SUPER2_SLST) $(SUPER2_SYS) $(SUPER3_SLST) $(SUPER3_SYS)
.PHONY: super3
\ No newline at end of file