Taken from sources in CVS at: https://sourceforge.net/projects/rocketworkbench/ Sources extracted in two steps: 1. Pull entire project tree into a subdir "rwb" via "rsync": rsync -a a.cvs.sourceforge.net::cvsroot/rocketworkbench/ rwb/. 2. Export sources: export CVSROOT=$(pwd)/rwb SUBDIRS="analyser cpropep cpropep-web CVSROOT data libcompat libcpropep libnum libsimulation libthermo prop rocketworkbench rockflight" mkdir rwbx; cd rwbx cvs export -D now ${SUBDIRS} After this (and some backups for safety), the directory content was added to a Git repo: git init . git add *
36 lines
671 B
Makefile
36 lines
671 B
Makefile
#
|
|
# Makefile to build Debian package for Rocketworkbench utility suite
|
|
# Written by Geoff O'Callaghan <geoff@starbiz.com.au>
|
|
# Based on existing Makefile from Rocketworkbench project
|
|
#
|
|
|
|
#ROOT = $(PWD)
|
|
#export ROOT
|
|
|
|
.PHONY: all clean debug
|
|
|
|
optimize: TYPE="optimize"
|
|
optimize: all
|
|
|
|
debug: TYPE="debug"
|
|
debug: all
|
|
|
|
profile: TYPE="profile"
|
|
profile: all
|
|
|
|
all:
|
|
@mkdir -p lib
|
|
@mkdir -p bin
|
|
@echo "Building sources in" $(TYPE) "mode."
|
|
@$(MAKE) --no-print-directory -C source all
|
|
|
|
clean:
|
|
@echo "Cleaning sources..."
|
|
@$(MAKE) --no-print-directory -C source clean
|
|
@echo "...done"
|
|
@rm -f lib/*
|
|
@rm -f bin/*
|
|
|
|
install: all
|
|
@$(MAKE) --no-print-directory -C source install
|