File: Makefile

package info (click to toggle)
saml 970418-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,204 kB
  • ctags: 1,701
  • sloc: ansic: 17,182; sh: 2,583; yacc: 497; perl: 264; makefile: 250; python: 242
file content (25 lines) | stat: -rw-r--r-- 474 bytes parent folder | download | duplicates (2)
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
#
# Makefile for saml1module
#
TOPDIR := ..
include $(TOPDIR)/make.common

CFILES	= saml1.c
HFILES	=
OFILES	= $(CFILES:.c=.o)
PFILES	= $(CFILES:.c=.op)

DEBUG =
WARN = -Wall
#CPPFLAGS += -I/usr/local/include/python1.4 -I/usr/local/lib/python1.4/config
CPPFLAGS += -I/usr/include/python1.5
CFLAGS += -fPIC

all: saml1module.so
profil: samuel_p

saml1module.so: saml1.o
	$(CC) -L../lib -shared -o $@ $< -L../lib -lsaml

veryclean: clean
	rm -f *.s *.orig *.pyc saml1module.so