usbloadergx/libsicksaxis/Makefile
Cyan 0cd2573062 Push r1235 in internal update menu and window's installer.
Added used libraries to /branches/libs/
You need to "make" and "make install" both libsicksaxis and libupc to compile USBLoaderGX r1235+
2015-01-04 21:00:24 +00:00

29 lines
554 B
Makefile

.SUFFIXES:
ifeq ($(strip $(DEVKITPPC)),)
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC")
endif
include $(DEVKITPPC)/wii_rules
TARGET := libsicksaxis.a
CFLAGS = -g -O2 -Wall $(MACHDEP) -I$(LIBOGC_INC)
all: sicksaxis.o
powerpc-eabi-ar rcs $(TARGET) -c sicksaxis.o
@echo "Type 'make install' to install"
sicksaxis.o:
powerpc-eabi-gcc $(CFLAGS) -c sicksaxis.c
install: all
@echo install ...
cp $(TARGET) $(LIBOGC_LIB)
cp sicksaxis.h $(LIBOGC_INC)
clean:
@echo clean ...
@rm -fr sicksaxis.o $(TARGET)