Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F628917
Add-rudimentary-makefile-for-debhelper
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
3 KB
Referenced Files
None
Subscribers
None
Add-rudimentary-makefile-for-debhelper
View Options
Description: Add rudimentary makefile
Add a Makefile to the source (it is overwritten during dh_make anyway).
This is a very simple Makefile which can build and clean only.
Installation is currently done by debian's tools.
Forwarded: not-needed
Last-Update: 2020-08-07
--- /dev/null
+++ darthinvaders-1.0/Makefile
@@ -0,0 +1,133 @@
+# Might be lots of junk in here
+# it was originally generated by qmake
+EQ = =
+
+####### Compiler, tools and options
+
+CC = gcc
+CXX = g++
+DEFINES =
+CFLAGS = -pipe -Os -Wall -W -D_REENTRANT -fPIC $(DEFINES)
+CXXFLAGS = -pipe -Os -std=gnu++11 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
+INCPATH = -I.
+DEL_FILE = rm -f
+CHK_DIR_EXISTS= test -d
+MKDIR = mkdir -p
+COPY = cp -f
+COPY_FILE = cp -f
+COPY_DIR = cp -f -R
+INSTALL_FILE = install -m 644 -p
+INSTALL_PROGRAM = install -m 755 -p
+INSTALL_DIR = cp -f -R
+DEL_FILE = rm -f
+SYMLINK = ln -f -s
+DEL_DIR = rmdir
+MOVE = mv -f
+TAR = tar -cf
+COMPRESS = gzip -9f
+DISTNAME = darthinvaders-1.0
+DISTDIR = /tmp/DarthInvaders_/.tmp/DarthInvaders-1.0
+LINK = g++
+LFLAGS = -Wl,-O1
+LIBS = -lallegro_image -lallegro_ttf -lallegro_font -lallegro_audio -lallegro_primitives -lallegro_acodec -lallegro_dialog -lallegro -lpthread
+AR = ar cqs
+RANLIB =
+SED = sed
+STRIP = strip
+
+####### Output directory
+
+OBJECTS_DIR = ./
+
+####### Files
+
+SOURCES = BackGround.cpp \
+ Barrier.cpp \
+ Bullet.cpp \
+ Enemy.cpp \
+ Global.cpp \
+ Highscores.cpp \
+ Spaceship.cpp \
+ Test.cpp
+OBJECTS = BackGround.o \
+ Barrier.o \
+ Bullet.o \
+ Enemy.o \
+ Global.o \
+ Highscores.o \
+ Spaceship.o \
+ Test.o
+DIST = BackGround.h \
+ Barrier.h \
+ Bullet.h \
+ Enemy.h \
+ Global.h \
+ Highscores.h \
+ Spaceship.h BackGround.cpp \
+ Barrier.cpp \
+ Bullet.cpp \
+ Enemy.cpp \
+ Global.cpp \
+ Highscores.cpp \
+ Spaceship.cpp \
+ Test.cpp
+DESTDIR =
+TARGET = darthinvaders
+
+
+first: all
+####### Build rules
+
+darthinvaders: $(OBJECTS)
+ $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
+
+all: darthinvaders
+
+clean:
+ $(DEL_FILE) $(TARGET)
+ $(DEL_FILE) $(OBJECTS)
+
+####### Sub-libraries
+
+check: first
+
+benchmark: first
+
+####### Compile
+
+BackGround.o: BackGround.cpp BackGround.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o BackGround.o BackGround.cpp
+
+Barrier.o: Barrier.cpp Barrier.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Barrier.o Barrier.cpp
+
+Bullet.o: Bullet.cpp Bullet.h \
+ Spaceship.h \
+ Global.h \
+ Enemy.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Bullet.o Bullet.cpp
+
+Enemy.o: Enemy.cpp Enemy.h \
+ Global.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Enemy.o Enemy.cpp
+
+Global.o: Global.cpp Global.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Global.o Global.cpp
+
+Highscores.o: Highscores.cpp Highscores.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Highscores.o Highscores.cpp
+
+Spaceship.o: Spaceship.cpp Spaceship.h \
+ Global.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Spaceship.o Spaceship.cpp
+
+Test.o: Test.cpp Enemy.h \
+ Global.h \
+ Spaceship.h \
+ Bullet.h \
+ BackGround.h \
+ Barrier.h \
+ Highscores.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Test.o Test.cpp
+
+
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Nov 15, 5:28 AM (20 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
138205
Default Alt Text
Add-rudimentary-makefile-for-debhelper (3 KB)
Attached To
Mode
R72 DarthInvaders
Attached
Detach File
Event Timeline