File: Makefile

package info (click to toggle)
amoeba 1.1-13
  • links: PTS
  • area: contrib
  • in suites: sarge
  • size: 732 kB
  • ctags: 971
  • sloc: cpp: 8,315; makefile: 178
file content (42 lines) | stat: -rw-r--r-- 1,162 bytes parent folder | download | duplicates (11)
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
# Main loop
MAIN_OBJS = main/mainloop.o main/demohandler.o \
		main/event.o main/factory.o \
		main/curve.o main/linearcurve.o main/autosplinecurve.o main/linecurve.o main/piprecalc.o

# Misc. 2D "effects"
MAIN_OBJS += main/imagehandler.o main/inverthandler.o main/overlayanimhandler.o main/backgroundhandler.o main/fonthandler.o

# Loaded 3D models
MAIN_OBJS += main/object.o main/objhandler.o

# 3D model deformations
MAIN_OBJS += main/shadowhandler.o main/shadowrecthandler.o \
	     main/twisthandler.o main/uquadshandler.o

# 3D-effects and -handlers
MAIN_OBJS += main/lighthandler.o \
	main/fovhandler.o \
	main/foghandler.o \
	main/camerahandler.o \
        main/heightmaptunnelhandler.o \
	main/particlepathhandler.o \
	main/interferenceheightmaphandler.o

# Debugging stuff
MAIN_OBJS += main/fpshandler.o main/timerhandler.o

ifeq ($(DESTPLATFORM),linux)
MAIN_OBJS += main/linux-config/linux-config.o
else
# the resource file is included in the top-level Makefile
MAIN_OBJS += main/win32-config/win32-config.o
endif

# ---

OBJS += $(MAIN_OBJS)
SUBLIBS += main/main.a

main/main.a: $(MAIN_OBJS)
	$(AR) rc main/main.a $(MAIN_OBJS)
	$(RANLIB) main/main.a