Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. $ cat Makefile
  2. #OBJS specifies which files to compile as part of the project
  3. OBJS = 02_getting_an_image_on_the_screen.cpp
  4.  
  5. #OBJ_NAME specifies the name of our exectuable
  6. OBJ_NAME = 02_getting_an_image_on_the_screen
  7.  
  8. #This is the target that compiles our executable
  9. all : $(OBJS)
  10. gcc $(OBJS) -I/mingw64/include/SDL2 -L/mingw64/lib -w -Wl,-subsystem,windows -lmingw32 -lSDL2main -lSDL2 -o $(OBJ_NAME)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement