[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Makefile:4: *** missing separator



Hi;

also ganz einfach so: FILES="README Makefile printer.c"
ansonsten wird FILES nur =README gesetzt und der Rest macht Probleme.

Ach so, hab ich probiert, bringt leider auch keine Änderung.

Jazzy


_________________________________



# Uncomment the appropriate line below:
# LINUX_DIR=/usr/src/linux
LINUX_DIR=/usr/src/linux-2.4.18
ls
INFILE=printer.c
FILES="README	Makefile	printer.c"
WEBDEST=download/linux-usb-printer

all:		printer.o

printer.o:	$(INFILE) Makefile
		cc -D__KERNEL__ -I$(LINUX_DIR)/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS -include $(LINUX_DIR)/include/linux/modversions.h   -c -o printer.o $(INFILE)

clean:
		rm -f printer.o

unload:
		ptal-init start || true
		/sbin/rmmod printer || true

# Uncomment "proto_bias=3" if you're using hpoj-0.8 (not 0.90 or later).
load:
		/sbin/insmod ./printer.o	# proto_bias=3

reload:		unload load

release:
		scp $(FILES) paschal@hpoj.sf.net:htdocs/$(WEBDEST)

update:
		for file in $(FILES) ; do mv -f $$file $$file.before_wget ; wget http://hpoj.sf.net/$(WEBDEST)/$$file ; done

Reply to: