PROGRAM = power
ASFLAGS  = -gstabs
CFLAGS = -g -Wall -pedantic

.PHONY: clean
	
$(PROGRAM): $(PROGRAM).o 
	gcc $(CFLAGS) -o $(PROGRAM) $(PROGRAM).o
$(PROGRAM).o: $(PROGRAM).s
	as $(ASFLAGS) -o $(PROGRAM).o $(PROGRAM).s
clean:
	rm -f *.o 
	rm -f $(PROGRAM)
	rm -f *~

