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 14*6a5b7d2cSEmilio LópezTESTS += sync_fence.o 1582208160SEmilio López 1682208160SEmilio Lópezsync_test: $(OBJS) $(TESTS) 1782208160SEmilio López 1882208160SEmilio Lópezclean: 1982208160SEmilio López $(RM) sync_test $(OBJS) $(TESTS) 20