# Makefile for USB2LPT

# +++ To compile für ASUS WL-500 uncomment the following 3 lines +++
# export PATH=$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin
# CC =	mipsel-linux-gcc
# STRIP = mipsel-linux-strip

# +++ To compile für x86 uncomment the following line +++
CC = gcc

CFLAGS = -g
LDFLAGS = -s -static
INCLUDES = ./

PROG = usb2lpt

all:	$(PROG)

usb2lpt: ./main.o ./mcs7715.o ./usbdrvlinux.o	
	$(CC) -o $@ $^ $(LDFLAGS) $(CFLAGS)

#%.o:	%.c ${INCLUDES}
#	$(CC) -c $(CFLAGS) $< -o $@

clean:
	rm -f usb2lpt *.o 


