First game engine I made
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 465B

12345678910111213141516
  1. #OBJS specifies which files to compile as part of the project
  2. OBJS = boxengine.c game/polygone.c render.c ui.c sprite.c game/intro.c physics.c
  3. #OBJ_NAME specifies the name of our exectuable
  4. OBJ_NAME = PolyGONE
  5. #This is the target that compiles our executable
  6. all : $(OBJS)
  7. gcc $(OBJS) -w -g -lSDL2 -lSDL2_image -lm -o $(OBJ_NAME)
  8. #g++ 01_hello_SDL.cpp -I{add correct path here}/include/SDL2 -L{add correct path here}/lib -lmingw32 -lSDL2main -lSDL2