build.mk 1.01 KB
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

AALIB_TARGETS := $(LIBDIR)/libaa.la

AALIB_SRCS := \
	$(DIR)/altaz.c \
	$(DIR)/angles.c \
	$(DIR)/annuab.c \
	$(DIR)/constel.c \
	$(DIR)/deflec.c \
	$(DIR)/deltat.c \
	$(DIR)/diurab.c \
	$(DIR)/diurpx.c \
	$(DIR)/dms.c \
	$(DIR)/epsiln.c \
	$(DIR)/fk4fk5.c \
	$(DIR)/kepler.c \
	$(DIR)/kfiles.c \
	$(DIR)/lightt.c \
	$(DIR)/lonlat.c \
	$(DIR)/nutate.c \
	$(DIR)/precess.c \
	$(DIR)/refrac.c \
	$(DIR)/rplanet.c \
	$(DIR)/rstar.c \
	$(DIR)/sidrlt.c \
	$(DIR)/sun.c \
	$(DIR)/domoon.c \
	$(DIR)/trnsit.c \
	$(DIR)/vearth.c \
	$(DIR)/zatan2.c \
	$(DIR)/gplan.c \
	$(DIR)/mer404.c \
	$(DIR)/ven404.c \
	$(DIR)/ear404.c \
	$(DIR)/mar404.c \
	$(DIR)/jup404.c \
	$(DIR)/sat404.c \
	$(DIR)/ura404.c \
	$(DIR)/nep404.c \
	$(DIR)/plu404.c \
	$(DIR)/mlr404.c \
	$(DIR)/mlat404.c \
	$(DIR)/aa.c
AALIB_OBJS := $(AALIB_SRCS:.c=.lo)

$(LIBDIR)/libaa.la: CFLAGS += -Wall -O2
$(LIBDIR)/libaa.la: LDFLAGS += -lm
$(LIBDIR)/libaa.la: $(AALIB_OBJS)
	$(LIB_LINK)


SRCS += $(AALIB_SRCS)
TARGETS += $(AALIB_TARGETS)
CLEAN += $(AALIB_TARGETS) $(AALIB_OBJS)