aboutsummaryrefslogtreecommitdiff
path: root/src/Lanes.makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Lanes.makefile')
-rw-r--r--src/Lanes.makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/Lanes.makefile b/src/Lanes.makefile
index 9798848..7d0a153 100644
--- a/src/Lanes.makefile
+++ b/src/Lanes.makefile
@@ -7,16 +7,14 @@
7 7
8include ../Shared.makefile 8include ../Shared.makefile
9 9
10_MODULE=lanes 10_TARGET := lanes_core.$(_SO)
11 11
12_SRC := $(wildcard *.cpp) 12_SRC := $(wildcard *.cpp)
13 13
14_OBJ := $(_SRC:.cpp=.o) 14_OBJ := $(_SRC:.cpp=.o)
15 15
16_MODULE_DIR = $(_MODULE)
17
18#--- 16#---
19all: info $(_MODULE)/core.$(_SO) 17all: info $(_TARGET)
20 18
21info: 19info:
22 $(info CC: $(CC)) 20 $(info CC: $(CC))
@@ -30,12 +28,11 @@ _pch.hpp.gch: _pch.hpp
30 28
31# Note: Don't put $(LUA_LIBS) ahead of $^; MSYS will not like that (I think) 29# Note: Don't put $(LUA_LIBS) ahead of $^; MSYS will not like that (I think)
32# 30#
33$(_MODULE_DIR)/core.$(_SO): $(_OBJ) 31$(_TARGET): $(_OBJ)
34 mkdir -p $(_MODULE_DIR)
35 $(CC) $(LIBFLAG) $^ $(LIBS) $(LUA_LIBS) -o $@ 32 $(CC) $(LIBFLAG) $^ $(LIBS) $(LUA_LIBS) -o $@
36 33
37clean: 34clean:
38 -rm -rf $(_MODULE)/core.$(_SO) *.o *.map *.gch 35 -rm -rf $(_TARGET) *.o *.map *.gch
39 36
40#--- 37#---
41# NSLU2 "slug" Linux ARM 38# NSLU2 "slug" Linux ARM