File: Makefile

package info (click to toggle)
blender 2.36-1sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 34,220 kB
  • ctags: 42,784
  • sloc: ansic: 280,846; cpp: 123,984; python: 18,428; sh: 7,178; makefile: 3,296; perl: 2,082; xml: 484; java: 8
file content (25 lines) | stat: -rw-r--r-- 903 bytes parent folder | download | duplicates (3)
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
#
# $Id: Makefile,v 1.2 2004/03/22 22:02:09 jesterking Exp $
# Copyright (C) 2001 NaN Technologies B.V.

DIR = $(OCGDIR)/sumo
ALLTARGETS = $(OBJS) $(DIR)/$(DEBUG_DIR)particle $(DIR)/$(DEBUG_DIR)particle0

include nan_compile.mk

CPPFLAGS = -I../../include -I../include -I$(NAN_MOTO)/include
CPPFLAGS += -I$(OPENGL_HEADERS)

clean::
	@$(RM) $(DIR)/particle $(DIR)/particle0
	@$(RM) $(DIR)/debug/particle $(DIR)/debug/particle0

LDFLAGS  = -L$(DIR) -L/usr/X11R6/lib
OGL_LDLIBS = -lglut -lGLU -lGL -pthread
LDLIBS   = -lfuzzics -lsolid $(NAN_MOTO)/lib/libmoto.a $(OGL_LDLIBS)

$(DIR)/$(DEBUG_DIR)particle: particle.o $(DIR)/$(DEBUG_DIR)libfuzzics.a $(DIR)/$(DEBUG_DIR)libsolid.a
	$(CCC) $(CCFLAGS) $(CPPFLAGS) $(LDFLAGS) $< -o $@ $(LDLIBS)

$(DIR)/$(DEBUG_DIR)particle0: particle0.o $(DIR)/$(DEBUG_DIR)libfuzzics.a $(DIR)/$(DEBUG_DIR)libsolid.a
	$(CCC) $(CCFLAGS) $(CPPFLAGS) $(LDFLAGS) $< -o $@ $(LDLIBS)