| 1234567891011121314151617181920212223242526272829303132333435363738 |
- c_executables = $(patsubst %.c,%,$(wildcard *.c))
- cxx_executables = $(patsubst %.cpp,%,$(wildcard *.cpp))
- manifests = $(patsubst %.template,%,$(wildcard *.manifest.template)) manifest
- exec_target = $(c_executables) $(cxx_executables) ls.manifest
- target = $(exec_target) $(manifests)
- include ../../../../Scripts/Makefile.Test
- ifeq ($(findstring x86_64,$(SYS))$(findstring linux,$(SYS)),x86_64linux)
- CFLAGS-msg_create_libos += $(CFLAGS-libos)
- CFLAGS-msg_send_libos += $(CFLAGS-libos)
- LDLIBS-condvar += -lpthread
- LDLIBS-futextest += -lpthread
- LDLIBS-get_time += -lm
- LDLIBS-helloworld_pthread += -lpthread
- LDLIBS-msg_create_libos += -llibos
- LDLIBS-msg_send_libos += -llibos
- LDLIBS-sqrt += -lm
- LDLIBS-start += -lpthread -lm
- LDLIBS-sync += -lpthread
- LDLIBS-test_start_pthread_m += -lm
- %: %.c
- $(call cmd,csingle)
- %: %.cpp
- $(call cmd,cxxsingle)
- ifeq ($(filter %clean,$(MAKECMDGOALS)),)
- include $(wildcard *.d)
- endif
- else
- .IGNORE: $(c_executables) $(cxx_executables)
- $(c_executables) $(cxx_executables):
- endif
|