diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Lanes.makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Lanes.makefile b/src/Lanes.makefile index d9127f7..9798848 100644 --- a/src/Lanes.makefile +++ b/src/Lanes.makefile | |||
@@ -16,7 +16,9 @@ _OBJ := $(_SRC:.cpp=.o) | |||
16 | _MODULE_DIR = $(_MODULE) | 16 | _MODULE_DIR = $(_MODULE) |
17 | 17 | ||
18 | #--- | 18 | #--- |
19 | all: $(_MODULE)/core.$(_SO) | 19 | all: info $(_MODULE)/core.$(_SO) |
20 | |||
21 | info: | ||
20 | $(info CC: $(CC)) | 22 | $(info CC: $(CC)) |
21 | $(info _SRC: $(_SRC)) | 23 | $(info _SRC: $(_SRC)) |
22 | 24 | ||
@@ -24,7 +26,7 @@ _pch.hpp.gch: _pch.hpp | |||
24 | $(CC) $(CFLAGS) -x c++-header _pch.hpp -o _pch.hpp.gch | 26 | $(CC) $(CFLAGS) -x c++-header _pch.hpp -o _pch.hpp.gch |
25 | 27 | ||
26 | %.o: %.cpp _pch.hpp.gch *.h *.hpp Lanes.makefile | 28 | %.o: %.cpp _pch.hpp.gch *.h *.hpp Lanes.makefile |
27 | $(CC) $(CFLAGS) -c $< | 29 | $(CC) $(CFLAGS) -c $< -o $@ |
28 | 30 | ||
29 | # Note: Don't put $(LUA_LIBS) ahead of $^; MSYS will not like that (I think) | 31 | # Note: Don't put $(LUA_LIBS) ahead of $^; MSYS will not like that (I think) |
30 | # | 32 | # |
@@ -66,4 +68,4 @@ $(WIN32_LUA51)/include/lua.h: | |||
66 | @echo " [MINGW_GCC=...mingw32-gcc]" | 68 | @echo " [MINGW_GCC=...mingw32-gcc]" |
67 | @false | 69 | @false |
68 | 70 | ||
69 | .PHONY: all clean nslu2 win32 | 71 | .PHONY: all info clean nslu2 win32 |