- Joined
- Jan 27, 2015
- Messages
- 4,999
- Trophies
- 1
- Location
- Behind a screen reading news
- XP
- 4,885
- Country
Okay i'm currently in school now. I also accidentally wiped my fucking hard drive. Thank god my new years resolution was to start making hard drive backups of only important files!Try adding this to your Makefile:
Code:#--------------------------------------------------------------------------------- %_vsh.h %.vsh.o : %.vsh #--------------------------------------------------------------------------------- @echo $(notdir $<) @python $(AEMSTRO)/aemstro_as.py $< ../$(notdir $<).shbin @bin2s ../$(notdir $<).shbin | $(PREFIX)as -o $@ @echo "extern const u8" `(echo $(notdir $<).shbin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo $(notdir $<).shbin | tr . _)`.h @echo "extern const u8" `(echo $(notdir $<).shbin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo $(notdir $<).shbin | tr . _)`.h @echo "extern const u32" `(echo $(notdir $<).shbin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo $(notdir $<).shbin | tr . _)`.h @rm ../$(notdir $<).shbin