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 (32 lines) | stat: -rwxr-xr-x 533 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
32
#
# Makefile for ExpStart
#

# include common variables
include ../../Makedefs

# what we are building here
OBJS	 =	$(buildobjdir)/starttest.o

.PHONY: all clean dist install

all: $(OBJS)

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

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

# only objects: nothing to install
install:


#lib: $(OBJECTS)
#	$(AR) cr $(LIBRARY) $(OBJECTS)

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