File: Makefile

package info (click to toggle)
libggidemos 990518-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 648 kB
  • ctags: 310
  • sloc: ansic: 4,015; perl: 2,540; makefile: 17
file content (17 lines) | stat: -rw-r--r-- 370 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC = gcc
PGFLAGS = #-pg
CFLAGS = -Wall -O2 -pedantic $(INCLUDES) $(PGFLAGS) -D_REENTRANT
LDFLAGS = $(LIBS) -lggi -lm $(PGFLAGS)

all:	3d alpha_ggis subdemo spinmodule.so dots

3d:	3d.o

alpha_ggis:	alpha_ggis.o

subdemo:	subdemo.o
	$(CC) -o subdemo subdemo.o $(LDFLAGS) -lpthread 

spinmodule.so:	spinmodule.c
	gcc $(CFLAGS) -fPIC -shared -o spinmodule.so spinmodule.c