Commits

Anonymous committed 1ead187

output rels to the same directory the source is at.

  • Participants
  • Parent commits 741d6ad

Comments (0)

Files changed (1)

 	for a in $(A51_SOURCES); do \
 	 asx8051 -logs $$a; done
 	for s in $(SOURCES); do \
-	 $(CC) -c -I $(FX2LIBDIR)/include $$s; done
+	 THISREL=`echo "$$s" | sed -e 's/\.c$$/\.rel/'`; \
+	 $(CC) -c -I $(FX2LIBDIR)/include $$s -o $$THISREL ; done
 	$(CC) -o $(BASENAME).ihx $(RELS) fx2.lib -L $(FX2LIBDIR)/lib $(LIBS)