# ------------------------------------------------------
#		Piloter le laser de Gaby
# ------------------------------------------------------

DEPS = Makefile transmit.h receive-osc.h

receive-osc.o:		receive-osc.c $(DEPS)
	gcc -Wall -c $<

transmit.o:		transmit.c $(DEPS)
	gcc -Wall -c $<

audiodrive.o:		audiodrive.c $(DEPS)
	gcc -Wall -c $<

# ------------------------------------------------------

gabylaser.o:		gabylaser.c $(DEPS)
	gcc -Wall -c $<

OBJS = receive-osc.o transmit.o

gabylaser:		gabylaser.o $(DEPS) $(OBJS)
	gcc -Wall $< $(OBJS) -llo -o $@

# ------------------------------------------------------