Cleaning up Makefiles (thx antoine)

This commit is contained in:
Dirk Vogt 2011-03-07 13:54:17 +00:00
parent aca0749d71
commit 97980446a4
3 changed files with 15 additions and 6 deletions

View file

@ -1,11 +1,15 @@
.if ${COMPILER_TYPE} == "gnu"
LIB= ddekit
SRC_DIR = /usr/src/lib/libddekit/src
SRC_DIR = ${MINIXSRCDIR}/lib/libddekit/src
VPATH = $(SRC_DIR)
SRCS = pci.c printf.c mem.c pgtab.c dde.c initcall.c thread.c condvar.c lock.c semaphore.c timer.c panic.c irq.c resource.c msg_queue.c
CFLAGS += -Wall
CFLAGS += -Wall
.endif
.include <bsd.lib.mk>

View file

@ -1,9 +1,14 @@
.if ${COMPILER_TYPE} == "gnu"
LIB= ddekit_usb_client
SRC_DIR = /usr/src/lib/libddekit/src
SRC_DIR = ${MINIXSRCDIR}/lib/libddekit/src
VPATH = $(SRC_DIR)
SRCS = usb_client.c
CFLAGS += -DDDEBUG=1 -Wall -I../../include
CFLAGS += -Wall
.endif
.include <bsd.lib.mk>

View file

@ -1,9 +1,9 @@
.if ${COMPILER_TYPE} == "gnu"
LIB= ddekit_usb_server
SRC_DIR = /usr/src/lib/libddekit/src
SRC_DIR = ${MINIXSRCDIR}/lib/libddekit/src
VPATH = $(SRC_DIR)
SRCS = usb_server.c
CFLAGS += -DDDEBUG=1 -I../../include -Wall
CFLAGS += -Wall
.endif
.include <bsd.lib.mk>