Makefile - These are variables for the GBA toolchain build...

This preview shows 1 out of 2 pages.

################################################################################ # These are variables for the GBA toolchain build # You can add others if you wish to # Name: Your name here or you will lose points!!! ################################################################################ # The name of your desired GBA game # This should be a just a name i.e MyFirstGBAGame # No SPACES AFTER THE NAME. PROGNAME = MarioBlockDodge # The object files you want to compile into your program # This should be a space (SPACE!) separated list of .o files OFILES = main.o myLib.o font.o text.o smblock.o marioback.o mario.o bowser.o win.o # The header files you have created. # This is necessary to determine when to recompile for files. # This should be a space (SPACE!) separated list of .h files HFILES = mylib.h text.h smblock.h marioback.h mario.h bowser.h win.h ################################################################################ # These are various settings used to make the GBA toolchain work # DO NOT EDIT BELOW. ################################################################################ TOOLDIR = /usr/local/cs2110-tools ARMLIB = $(TOOLDIR)/arm-thumb-eabi/lib CFLAGS = -Wall -Werror -std=c99 -pedantic CFLAGS += -mthumb-interwork -mlong-calls -nostartfiles -MMD -MP -I $ (TOOLDIR)/include LDFLAGS = -L $(TOOLDIR)/lib \ -L $(TOOLDIR)/lib/gcc/arm-thumb-eabi/4.4.1/thumb \ -L $(ARMLIB) \ --script $(ARMLIB)/arm-gba.ld
Image of page 1

Subscribe to view the full document.

Image of page 2
You've reached the end of this preview.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern