changed resources compilation as on project makefile
@@ -114,8 +114,13 @@ cmd_ : $(OBJ_LIB)
%.o: %.s
$(CC) -x assembler-with-cpp -MMD $(FLAGS_LIB) -c $< -o $@
-%.s: %.res
- $(RESCOMP) $< $@
+out/%.o: %.rs
+ $(CC) -x assembler-with-cpp $(FLAGS) -c $*.rs -o $@
+ $(CP) $*.d out/$*.d
+ $(RM) $*.d
+
+%.rs: %.res
+ $(RESCOMP) $*.res $*.rs -dep out/$*.o
%.o80: %.s80
$(ASMZ80) $(FLAGSZ80_LIB) $< $@ out.lst
