INCLUDE = ../../include/

OBJECTS_SY546 = switchChannels.o

COPTS   = -O2 -Wall -W -Wpointer-arith -Wcast-qual \
          -Wstrict-prototypes -Wmissing-prototypes \
          -Wmissing-declarations -Winline -Wcast-align \
	  -I$(INCLUDE)

# Link-time flags to use
LDFLAGS= 
# Additional link libraries
LIBS= -lhscaenet
# For gdb
CFLAGS=-g

%.o: %.c  
	gcc $(COPTS) $< -c

switchChannels: $(OBJECTS_SY546)
	gcc $(LDFLAGS) $^ $(LIBS) -o $@
  
all: switchChannels

clean:
	rm -f *.o switchChannels core
# DO NOT DELETE
