Guest User

makefile

a guest
May 29th, 2012
62
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data