Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-tutorial-porting
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Tvete
qt-tutorial-porting
Commits
1ea8daa6
Commit
1ea8daa6
authored
6 years ago
by
Paul Tvete
Browse files
Options
Downloads
Patches
Plain Diff
Translate to qmake
parent
4bd4c477
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
t14/Makefile
+0
-60
0 additions, 60 deletions
t14/Makefile
t14/t14.mak
+0
-87
0 additions, 87 deletions
t14/t14.mak
t14/t14.pro
+2
-1
2 additions, 1 deletion
t14/t14.pro
with
2 additions
and
148 deletions
t14/Makefile
deleted
100644 → 0
+
0
−
60
View file @
4bd4c477
####### This section is automatically generated from
####### /home/hanord/qt/tutorial/Makefile
INCDIR
=
$(
QTDIR
)
/include
CFLAGS
=
-O2
LFLAGS
=
-L
$(
QTDIR
)
/lib
-lqt
CC
=
gcc
MOC
=
moc
####### End of automatically generated section
#
# $Source: /tmp/cvs/qt/tutorial/t14/Makefile,v $
#
####### Files
HEADERS
=
lcdrange.h cannon.h gamebrd.h
SOURCES
=
lcdrange.cpp cannon.cpp gamebrd.cpp main.cpp
OBJECTS
=
lcdrange.o cannon.o gamebrd.o main.o
SRCMETA
=
mlcdrang.cpp mcannon.cpp mgamebr.cpp
OBJMETA
=
mlcdrang.o mcannon.o mgamebr.o
TARGET
=
t14
####### Implicit rules
.SUFFIXES
:
.cpp
.cpp.o
:
$(CC)
-c
$(CFLAGS)
-I$(INCDIR)
$<
####### Build rules
all
:
$(TARGET)
$(TARGET)
:
$(OBJECTS) $(OBJMETA)
$(CC)
$(OBJECTS)
$(OBJMETA)
-o
$(TARGET)
$(LFLAGS)
-lm
depend
:
@makedepend
-I$(INCDIR)
$(SOURCES)
2>
/dev/null
showfiles
:
@echo
$(HEADERS)
$(SOURCES)
Makefile
clean
:
rm
-f
*.o
*.bak
*~
*%
#*
rm
-f
$(SRCMETA)
$(TARGET)
####### Meta classes
mlcdrang.cpp
:
lcdrange.h
$(MOC)
-o
$@
lcdrange.h
mcannon.cpp
:
cannon.h
$(MOC)
-o
$@
cannon.h
mgamebr.cpp
:
gamebrd.h
$(MOC)
-o
$@
gamebrd.h
# DO NOT DELETE THIS LINE -- make depend depends on it.
This diff is collapsed.
Click to expand it.
t14/t14.mak
deleted
100644 → 0
+
0
−
87
View file @
4bd4c477
#############################################################################
# Generated by tmake at 15:26, 1996/10/10
# Project: t14.p
# Template: e:\tmake\template\win\msvc\qtapp.t
#############################################################################
####### Directories
BASEDIR
=
$(
QTDIR
)
INCDIR
=
$(
BASEDIR
)
\i
nclude
LIBDIR
=
$(
BASEDIR
)
\l
ib
####### Compiler
CFLAGS
=
-Zi
-nologo
LFLAGS
=
$(
LIBDIR
)
\q
t.lib user32.lib gdi32.lib comdlg32.lib libc.lib
CC
=
cl
MOC
=
moc
LINK
=
link
/DEBUG /SUBSYSTEM:windows /NODEFAULTLIB:libcd.lib
####### Files
HEADERS
=
cannon.h
\
gamebrd.h
\
lcdrange.h
SOURCES
=
cannon.cpp
\
gamebrd.cpp
\
lcdrange.cpp
\
main.cpp
OBJECTS
=
cannon.obj
\
gamebrd.obj
\
lcdrange.obj
\
main.obj
SRCMETA
=
moc_cannon.cpp
\
moc_gamebrd.cpp
\
moc_lcdrange.cpp
OBJMETA
=
moc_cannon.obj
\
moc_gamebrd.obj
\
moc_lcdrange.obj
TARGET
=
t14.exe
####### Implicit rules
.SUFFIXES
:
.cpp
.cpp.obj
:
$(CC)
-c
$(CFLAGS)
-I$(INCDIR)
-Fo$@
$<
####### Build rules
all
:
$(TARGET)
$(TARGET)
:
$(OBJECTS) $(OBJMETA) $(LIBDIR)
\q
t.lib
$(LINK) -OUT
:
$(TARGET) $(OBJECTS) $(OBJMETA) $(LFLAGS)
mocify
:
$(SRCMETA)
clean
:
del
$(OBJECTS)
$(OBJMETA)
$(SRCMETA)
####### Compile
cannon.obj
:
cannon.cpp
\
cannon.h
gamebrd.obj
:
gamebrd.cpp
\
gamebrd.h
\
lcdrange.h
\
cannon.h
lcdrange.obj
:
lcdrange.cpp
\
lcdrange.h
main.obj
:
main.cpp
\
gamebrd.h
\
lcdrange.h
\
cannon.h
moc_cannon.cpp
:
cannon.h
$(MOC)
cannon.h
-o
moc_cannon.cpp
moc_gamebrd.cpp
:
gamebrd.h
$(MOC)
gamebrd.h
-o
moc_gamebrd.cpp
moc_lcdrange.cpp
:
lcdrange.h
$(MOC)
lcdrange.h
-o
moc_lcdrange.cpp
This diff is collapsed.
Click to expand it.
t14/t14.p
→
t14/t14.p
ro
+
2
−
1
View file @
1ea8daa6
TEMPLATE
=
qtapp
QT
+=
widgets
HEADERS
=
cannon
.
h
\
gamebrd
.
h
\
lcdrange
.
h
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment