diff options
author | Simponic <loganthebean222@gmail.com> | 2020-08-13 12:07:52 -0600 |
---|---|---|
committer | Simponic <loganthebean222@gmail.com> | 2020-08-13 12:07:52 -0600 |
commit | d8b164e4727c887979d4da6a4011a444749862fc (patch) | |
tree | 63ae5ebfab9c1e438c0c2ccc97668e3ab809bdbd /src/makefile | |
parent | 40a568c50224c2832aeb13bd469d714d126118e1 (diff) | |
download | asteroids-cs165-d8b164e4727c887979d4da6a4011a444749862fc.tar.gz asteroids-cs165-d8b164e4727c887979d4da6a4011a444749862fc.zip |
Better file structure, stuff is better in general
Diffstat (limited to 'src/makefile')
-rw-r--r-- | src/makefile | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/src/makefile b/src/makefile deleted file mode 100644 index 22b20f7..0000000 --- a/src/makefile +++ /dev/null @@ -1,71 +0,0 @@ -# Author: -# Logan Hunt -# Summary: -# Play the game asteroids -# Above and Beyond -# Changed colors -# Added fuel -# rotation: -1 units/frame -# movement: -3 units/frame -# Made sure that initially, trajectories of rocks will -# not hit ship -# There's a chance of medium asteroids spawning at the start -# The initial amount of large rocks is random -############################################################### - - -LFLAGS = -lglut -lGLU -lGL - -############################################################### -# Build the main game -############################################################### -a.out: driver.o game.o uiInteract.o uiDraw.o point.o velocity.o flyingObject.o ship.o bullet.o rocks.o - g++ driver.o game.o uiInteract.o uiDraw.o point.o velocity.o flyingObject.o ship.o bullet.o rocks.o $(LFLAGS) - -############################################################### -# Individual files -# uiDraw.o Draw polygons on the screen and do all OpenGL graphics -# uiInteract.o Handles input events -# point.o The position on the screen -# game.o Handles the game interaction -# velocity.o Velocity (speed and direction) -# flyingObject.o Base class for all flying objects -# ship.o The player's ship -# bullet.o The bullets fired from the ship -# rocks.o Contains all of the Rock classes -############################################################### -uiDraw.o: uiDraw.cpp uiDraw.h - g++ -c uiDraw.cpp - -uiInteract.o: uiInteract.cpp uiInteract.h - g++ -c uiInteract.cpp - -point.o: point.cpp point.h - g++ -c point.cpp - -driver.o: driver.cpp game.h - g++ -c driver.cpp - -game.o: game.cpp game.h uiDraw.h uiInteract.h point.h velocity.h flyingObject.h bullet.h rocks.h ship.h - g++ -c game.cpp - -velocity.o: velocity.cpp velocity.h point.h - g++ -c velocity.cpp - -flyingObject.o: flyingObject.cpp flyingObject.h point.h velocity.h uiDraw.h - g++ -c flyingObject.cpp - -ship.o: ship.cpp ship.h flyingObject.h point.h velocity.h uiDraw.h - g++ -c ship.cpp - -bullet.o: bullet.cpp bullet.h flyingObject.h point.h velocity.h uiDraw.h - g++ -c bullet.cpp - -rocks.o: rocks.cpp rocks.h flyingObject.h point.h velocity.h uiDraw.h - g++ -c rocks.cpp - -############################################################### -# General rules -############################################################### -clean: - rm a.out *.o |