diff options
Diffstat (limited to 'src/Lanes.makefile')
-rw-r--r-- | src/Lanes.makefile | 11 |
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 | ||
8 | include ../Shared.makefile | 8 | include ../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 | #--- |
19 | all: info $(_MODULE)/core.$(_SO) | 17 | all: info $(_TARGET) |
20 | 18 | ||
21 | info: | 19 | info: |
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 | ||
37 | clean: | 34 | clean: |
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 |