File: Makefile

package info (click to toggle)
blender 2.42a-7
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 60,700 kB
  • ctags: 83,393
  • sloc: ansic: 576,763; cpp: 187,760; python: 48,472; sh: 15,785; makefile: 4,298; perl: 2,082; asm: 1,471; 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)