Parent Directory
|
Revision Log
|
Revision Graph
Build the workstation version of uddsTools. - Steel
1 | GCC = gcc -inostdinc -g -DUNIX -DSOLARIS |
2 | CFLAGS = -c -Wunused |
3 | |
4 | RM = rm -f |
5 | |
6 | TOP = ../../.. |
7 | SRC = ../../../share/src/rec |
8 | INCLUDES = \ |
9 | -I$(SRC) \ |
10 | -I$(TOP)/share/epicsH \ |
11 | -I/usr/include |
12 | |
13 | STDLIBS = -lm |
14 | |
15 | LIBS = |
16 | |
17 | SRCS = $(SRC)/uddsTools.c |
18 | |
19 | OBJS = uddsTools.o |
20 | |
21 | all: depend uddsTools |
22 | |
23 | uddsTools: uddsTools.o |
24 | $(GCC) -o uddsTools uddsTools.o $(LIBS) $(STDLIBS) |
25 | |
26 | uddsTools.o: $(SRC)/uddsTools.c |
27 | $(RM) uddsTools.o |
28 | $(GCC) $(CFLAGS) $(INCLUDES) $(SRC)/uddsTools.c |
29 | |
30 | install: uddsTools |
31 | cp -p uddsTools ../bin |
32 | |
33 | clean: |
34 | $(RM) uddsTools |
35 | $(RM) $(OBJS) |
36 | |
37 | depend: Makefile.depend |
38 | |
39 | Makefile.depend : $(SRCS) Makefile |
40 | $(RM) Makefile.depend |
41 | gcc -M $(INCLUDES) -DSOLARIS $(SRCS) > Makefile.depend |
42 | |
43 | include Makefile.depend |
ViewVC Help | |
Powered by ViewVC 1.1.30 |