File: Makefile

package info (click to toggle)
xtide 2.6.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,996 kB
  • ctags: 2,617
  • sloc: cpp: 26,266; ansic: 8,105; makefile: 152; yacc: 113; sh: 54; lex: 54
file content (21 lines) | stat: -rw-r--r-- 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: Makefile,v 1.2 2002/10/01 18:27:41 flaterco Exp $

# This Makefile is not used by the normal XTide build process.  It is
# included only in case somebody wants to build libtcd without getting
# involved with XTide.

OBJ = bit_pack.o tide_db.o
CFLAGS = -O2

libtcd.a: $(OBJ)
	ar rv libtcd.a $(OBJ)

.c.o:
	$(CC) -c $(CFLAGS) $<

bit_pack.o:     	nvtypes.h
tide_db.o:      	tide_db_header.h tcd.h tide_db_default.h \
			nvtypes.h tide_db_version.h

clean:
	rm -f *.o *.a