mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 06:27:01 +08:00
usb01: make Makefile follow pattern of others
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
include ../../config.inc
|
include ../../config.inc
|
||||||
|
|
||||||
APP = usb01
|
PGM=${ARCH}/usb01.exe
|
||||||
|
|
||||||
include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
|
include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
|
||||||
include $(RTEMS_CUSTOM)
|
include $(RTEMS_CUSTOM)
|
||||||
@@ -15,15 +15,16 @@ OBJS= $(C_O_FILES)
|
|||||||
|
|
||||||
DEPFLAGS = -MT $@ -MD -MP -MF $*.dep
|
DEPFLAGS = -MT $@ -MD -MP -MF $*.dep
|
||||||
AM_CPPFLAGS += -I $(INSTALL_BASE)/include -I.
|
AM_CPPFLAGS += -I $(INSTALL_BASE)/include -I.
|
||||||
CLEAN_ADDITIONS += $(APP).exe $(APP).map $(C_DEP_FILES)
|
#CLEAN_ADDITIONS += $(APP).exe $(APP).map $(C_DEP_FILES)
|
||||||
|
CLEAN_ADDITIONS += $(C_DEP_FILES)
|
||||||
|
|
||||||
CFLAGS += $(DEPFLAGS) $(GCCFLAGS) $(AM_CPPFLAGS) -Wno-unused -Wl,-Map,$(APP).map
|
CFLAGS += $(DEPFLAGS) $(GCCFLAGS) $(AM_CPPFLAGS) -Wno-unused -Wl,-Map,$(APP).map
|
||||||
|
|
||||||
LINK_LIBS += $(INSTALL_BASE)/libbsd.a
|
LINK_LIBS += $(INSTALL_BASE)/libbsd.a
|
||||||
|
|
||||||
all: $(APP).exe
|
all: $(ARCH) $(PGM)
|
||||||
|
|
||||||
$(APP).exe: $(C_O_FILES)
|
$(PGM): $(C_O_FILES)
|
||||||
$(make-exe)
|
$(make-exe)
|
||||||
|
|
||||||
-include $(C_DEP_FILES)
|
-include $(C_DEP_FILES)
|
||||||
|
Reference in New Issue
Block a user