182208160SEmilio LópezCFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra 282208160SEmilio LópezCFLAGS += -I../../../../usr/include/ 382208160SEmilio LópezLDFLAGS += -pthread 482208160SEmilio López 582208160SEmilio LópezTEST_PROGS = sync_test 682208160SEmilio López 782208160SEmilio Lópezall: $(TEST_PROGS) 882208160SEmilio López 982208160SEmilio Lópezinclude ../lib.mk 1082208160SEmilio López 1182208160SEmilio LópezOBJS = sync_test.o sync.o 1282208160SEmilio López 1382208160SEmilio LópezTESTS += sync_alloc.o 146a5b7d2cSEmilio LópezTESTS += sync_fence.o 15*1c5839c6SEmilio LópezTESTS += sync_merge.o 1682208160SEmilio López 1782208160SEmilio Lópezsync_test: $(OBJS) $(TESTS) 1882208160SEmilio López 1982208160SEmilio Lópezclean: 2082208160SEmilio López $(RM) sync_test $(OBJS) $(TESTS) 21