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.
40 lines
1.2 KiB
40 lines
1.2 KiB
Index: Release/makefile |
|
--- Release/makefile.orig 2018-10-11 23:45:24.614110000 +0200 |
|
+++ Release/makefile 2018-10-11 23:46:09.140987000 +0200 |
|
@@ -38,12 +38,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: |
|
@@ -56,4 +52,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 2018-10-11 23:45:24.614354000 +0200 |
|
+++ Release/src/subdir.mk 2018-10-11 23:46:23.956394000 +0200 |
|
@@ -77,10 +77,5 @@ |
|
|
|
# Each subdirectory must supply rules for building sources it contributes |
|
src/%.o: ../src/%.c |
|
- @echo 'Building file: $<' |
|
- @echo 'Invoking: Cross GCC Compiler' |
|
- gcc -DNDEBUG -I../inc -O3 -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 "$@" "$<" |
|
|
|
|