Files
pspsdk/src/usbstor/Makefile.am
Carsten Teibes 6f8e67656e Silence build output
Do not pass CPPFLAGS twice
2020-05-16 02:58:04 +02:00

31 lines
843 B
Makefile

libdir = @PSPSDK_LIBDIR@
CC = @PSP_CC@
CCAS = $(CC)
AR = @PSP_AR@
RANLIB = @PSP_RANLIB@
CPPFLAGS = -I$(top_srcdir)/src/base -I$(top_srcdir)/src/kernel
CFLAGS = @PSPSDK_CFLAGS@
CCASFLAGS = $(CFLAGS)
USBSTOR_OBJS = sceUsbstor_0000.o sceUsbstor_0001.o
USBSTORBOOT_OBJS = sceUsbstorBoot_0000.o sceUsbstorBoot_0001.o sceUsbstorBoot_0002.o sceUsbstorBoot_0003.o sceUsbstorBoot_0004.o sceUsbstorBoot_0005.o sceUsbstorBoot_0006.o
libpspusbstorincludedir = @PSPSDK_INCLUDEDIR@
libpspusbstorinclude_HEADERS = \
pspusbstor.h
lib_LIBRARIES = libpspusbstor.a
libpspusbstor_a_SOURCES = sceUsbstor.S sceUsbstorBoot.S
libpspusbstor_a_LIBADD = $(USBSTOR_OBJS) $(USBSTORBOOT_OBJS)
$(USBSTOR_OBJS): sceUsbstor.S
$(AM_V_CPPAS)$(CPPASCOMPILE) -DF_$* $< -c -o $@
$(USBSTORBOOT_OBJS): sceUsbstorBoot.S
$(AM_V_CPPAS)$(CPPASCOMPILE) -DF_$* $< -c -o $@