Advertisement
Guest User

makefile

a guest
May 29th, 2012
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. PACKAGES=allegro-5.0 allegro_primitives-5.0 allegro_font-5.0 allegro_ttf-5.0 allegro_image-5.0 allegro_audio-5.0 allegro_acodec-5.0
  2. CXX=g++ -O2 -Wall `pkg-config --cflags $(PACKAGES)`
  3. LIB=`pkg-config --libs $(PACKAGES)`
  4. OBJ=main.o Background.o Bullet.o Comet.o Explosion.o GameObject.o SpaceShip.o
  5.  
  6. default: $(OBJ)
  7. $(CXX) $(OBJ) $(LIB) -o SideShooter
  8.  
  9. clean:
  10. rm -f *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement