diff --git a/BasiliskII/src/Unix/Linux/NetDriver/MAKEDEV b/BasiliskII/src/Unix/Linux/NetDriver/MAKEDEV deleted file mode 100755 index 6ee6c21c..00000000 --- a/BasiliskII/src/Unix/Linux/NetDriver/MAKEDEV +++ /dev/null @@ -1,2 +0,0 @@ -#! /bin/sh - -mknod /dev/sheep_net c 10 198 diff --git a/BasiliskII/src/Unix/Linux/NetDriver/Makefile b/BasiliskII/src/Unix/Linux/NetDriver/Makefile index 58d9e280..165ea60c 100644 --- a/BasiliskII/src/Unix/Linux/NetDriver/Makefile +++ b/BasiliskII/src/Unix/Linux/NetDriver/Makefile @@ -3,7 +3,7 @@ ## System specific configuration CC = cc CPPFLAGS = -I. -I/usr/src/linux/include -CFLAGS = -O2 -Wall -D__KERNEL__ -DMODULE +CFLAGS = -O2 -Wall -fno-builtin -D__KERNEL__ -DMODULE ASFLAGS = LDFLAGS = LIBS = @@ -15,6 +15,9 @@ OBJS = sheep_net.o sheep_net.o: sheep_net.c $(CC) -c $(CPPFLAGS) $(CFLAGS) sheep_net.c +dev: + mknod /dev/sheep_net c 10 198 + clean: -rm $(OBJS)