Comments (3)
Don't worry @toddcarnes, the request isn't to delete the file Makefile, but rather improve its contents. For example, you should be able to do the common scenario of "make clean", and it's easier to just use the "-s" switch with linking instead of manually running "strip astrolog" afterward. Yes, these changes are reasonable, so something similar to them will be applied next version, thank you. :)
from astrolog.
from astrolog.
Hi all.
There is one more variant:
mkdir -v src
mv -v *.cpp *.h src
cat Makefile
# Astrolog (Version 7.30) File: Makefile (Unix version)
#
# IMPORTANT NOTICE: Astrolog and all chart display routines and anything
# not enumerated elsewhere in this program are Copyright (C) 1991-2020 by
# Walter D. Pullen ([email protected], http://www.astrolog.org/astrolog.htm).
# Permission is granted to freely use, modify, and distribute these
# routines provided these credits and notices remain unmodified with any
# altered or distributed versions of the program.
#
# First created 11/21/1991.
#
# This Makefile is included only for convenience. One could easily compile
# Astrolog on most Unix systems by hand with the command:
# % cc -c -O *.cpp; cc -o astrolog *.o -lm -lX11
# Generally, all that needs to be done to compile once astrolog.h has been
# edited, is compile each source file, and link them together with the math
# library, and if applicable, the main X library.
#
NAME = astrolog
OBJS = src/astrolog.o \
src/atlas.o \
src/calc.o \
src/charts0.o \
src/charts1.o \
src/charts2.o \
src/charts3.o \
src/data.o \
src/express.o \
src/general.o \
src/intrpret.o \
src/io.o \
src/matrix.o \
src/placalc.o \
src/placalc2.o \
src/xdata.o \
src/xgeneral.o \
src/xdevice.o \
src/xcharts0.o \
src/xcharts1.o \
src/xcharts2.o \
src/xscreen.o \
src/swecl.o \
src/swedate.o \
src/swehouse.o \
src/swejpl.o \
src/swemmoon.o \
src/swemplan.o \
src/sweph.o \
src/swephlib.o
# If you don't have X windows, delete the "-lX11" part from the line below:
# If not compiling with GNUC, delete the "-ldl" part from the line below:
CPP = cc
CPPFLAGS = -Wall -O -Wno-write-strings -Wno-narrowing -Wno-comment -I./src
COPTS ?= -DSWITCHES
LDFLAGS = -lm -lX11 -ldl -s
RM = rm -f
$(NAME): $(OBJS)
$(CPP) $(CPPFLAGS) $(COPTS) $^ -o $@ $(LDFLAGS)
clean:
$(RM) $(OBJS) $(NAME)
#
from astrolog.
Related Issues (17)
- cannot open include file 'afxres.h' HOT 2
- Anti-aliased lines and circles HOT 4
- Arbitrary birth-time reset HOT 1
- Vedic Charts HOT 1
- Configuration File Extension HOT 1
- ASTROLOG
- ASTROLOG 1
- ASTROLOG 2
- Astrolog for Linux or Web Browser? HOT 4
- How to use it ? HOT 1
- 请问 有.net Core可以使用的dll吗? 我是初学者 请问能否发布一个用于.netCore的dll? HOT 2
- Compile on ubuntu 20.04.2 amd64 HOT 6
- astrolog -Xi -Xn -XG crash on Mageia 8 HOT 3
- Issue with AddTime function in xcharts2.cpp HOT 1
- unknown switch -Ya0 HOT 2
- suggestion: How about rewrite it using the wxWidgets framework HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astrolog.