forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fslurp-2.1.4-makefile.patch
47 lines (36 loc) · 1017 Bytes
/
fslurp-2.1.4-makefile.patch
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- fslurp-2.1.4/Makefile
+++ fslurp-2.1.4/Makefile
@@ -51,35 +51,35 @@
INCLUDES = fslurp.h fronius.h
SIMINCLUDES = simulator.h
-DEBUGFLAGS = -g
-CFLAGS = -c -Wall $(DEBUGFLAGS)
+#DEBUGFLAGS = -g
+CFLAGS += -c -Wall $(DEBUGFLAGS)
-LDFLAGS = -lm
+LIBS = -lm
VERSION := fslurp-$(shell tail -1 version)
all: $(TARGETS)
fslurp: $(FSLURP_OBJS)
- $(CC) $(LDFLAGS) $^ -o $@
+ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
simSolarNet2i1s: \
$(SIMSOLARNET2I1S_OBJS)
- $(CC) $(LDFLAGS) $^ -o $@
+ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
simSolarNet1i0s: \
$(SIMSOLARNET1I0S_OBJS)
- $(CC) $(LDFLAGS) $^ -o $@
+ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
simSolarNet0i0s: \
$(SIMSOLARNET0I0S_OBJS)
- $(CC) $(LDFLAGS) $^ -o $@
+ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
simIFCEasy: $(SIMIFCEASY_OBJS)
- $(CC) $(LDFLAGS) $^ -o $@
+ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
sim422IGTL: $(SIM422IGTL_OBJS)
- $(CC) $(LDFLAGS) $^ -o $@
+ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
test: $(TARGETS) clean
./testcase.sh