You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
38 lines
1.2 KiB
Index: Release/makefile |
|
--- Release/makefile.orig 2020-02-19 15:41:45.000000000 +0100 |
|
+++ Release/makefile 2020-02-19 23:14:47.453699000 +0100 |
|
@@ -31,12 +31,8 @@ |
|
|
|
# Tool invocations |
|
libcleri: $(OBJS) $(USER_OBJS) |
|
- @echo 'Building target: $@' |
|
- @echo 'Invoking: Cross GCC Linker' |
|
- gcc -shared -Wl,-$(SO_NAME),$(FN).$(MAJOR) -o $(FN) $(OBJS) $(USER_OBJS) $(LIBS) $(LDFLAGS) |
|
- @chmod -x $(FN) |
|
- @echo 'Finished building target: $@' |
|
- @echo ' ' |
|
+ ar rc libcleri.a $(OBJS) $(USER_OBJS) |
|
+ ranlib libcleri.a |
|
|
|
# Other Targets |
|
clean: |
|
@@ -49,4 +45,4 @@ |
|
-include ../makefile.targets |
|
|
|
test: |
|
- @cd ../test && ./test.sh |
|
\ No newline at end of file |
|
+ @cd ../test && ./test.sh |
|
Index: Release/src/subdir.mk |
|
--- Release/src/subdir.mk.orig 2020-02-19 23:14:47.453852000 +0100 |
|
+++ Release/src/subdir.mk 2020-02-19 23:16:18.978001000 +0100 |
|
@@ -75,8 +75,4 @@ |
|
./src/version.d |
|
|
|
src/%.o: ../src/%.c |
|
- @echo 'Building file: $<' |
|
- @echo 'Invoking: Cross GCC Compiler' |
|
- gcc -DNDEBUG -I../inc -O3 -Winline -Wall $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" |
|
- @echo 'Finished building: $<' |
|
- @echo ' ' |
|
+ $(CC) -I../inc $(CFLAGS) $(CPPFLAGS) -c -o "$@" "$<"
|
|
|