File: Makefile

package info (click to toggle)
nws 2.11-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,700 kB
  • ctags: 2,820
  • sloc: ansic: 28,849; sh: 3,289; java: 1,205; makefile: 697; perl: 12
file content (31 lines) | stat: -rw-r--r-- 577 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
22
23
24
25
26
27
28
29
30
31
#
# Makefile for Common
#
# $Id: Makefile,v 1.12 2004/10/29 23:53:12 graziano Exp $
#

# include common variables
include ../Makedefs

OBJS	= 		$(buildobjdir)/register.o \
			$(buildobjdir)/host_protocol.o \
			$(buildobjdir)/nws_api.o \
			$(buildobjdir)/experiments.o 

.PHONY : all clean install

all: $(OBJS) $(PROGRAMS)

clean:
	@$(RM) -f $(OBJS) 

dist:
	@$(INSTALL) -d $(DIST_ROOT)/Common
	@$(CP) Makefile *.c $(DIST_ROOT)/Common

install:

# Compilation rules for C.
$(buildobjdir)/%.o : %.c ../Include/*.h $(buildincdir)/*.h 
	$(CC) $(INCLUDES) $(CFLAGS) -c $< -o $@