OBJS := myasm.o main.o
all: rdtsc

rdtsc: $(OBJS) Makefile
	$(CC) -o $@ $(OBJS)

%.o: %.s Makefile
	nasm -f elf64 -o $@ $<
