(CTR/3DS) fix the 'all' target not being the default target.
This commit is contained in:
parent
c1d061e204
commit
c52e81510f
1 changed files with 4 additions and 3 deletions
7
Makefile
7
Makefile
|
@ -208,6 +208,7 @@ else ifeq ($(platform), ctr)
|
||||||
CFLAGS += -march=armv6k -mtune=mpcore -mfloat-abi=hard
|
CFLAGS += -march=armv6k -mtune=mpcore -mfloat-abi=hard
|
||||||
CFLAGS += -Wall -mword-relocations
|
CFLAGS += -Wall -mword-relocations
|
||||||
CFLAGS += -fomit-frame-pointer -ffast-math
|
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||||
|
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
|
||||||
CPU_ARCH := arm
|
CPU_ARCH := arm
|
||||||
# dynarec unavailable on ninjhax 2.0
|
# dynarec unavailable on ninjhax 2.0
|
||||||
HAVE_DYNAREC = 1
|
HAVE_DYNAREC = 1
|
||||||
|
@ -345,9 +346,6 @@ endif
|
||||||
|
|
||||||
CFLAGS += -I$(CTRULIB)/include
|
CFLAGS += -I$(CTRULIB)/include
|
||||||
|
|
||||||
3ds/libkhax/khaxinit.o: 3ds/libkhax/khaxinit.cpp
|
|
||||||
$(CXX) $(INCFLAGS) $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11 $(OPTIMIZE) -c -o $@ $<
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -379,6 +377,9 @@ libco/libco.o: libco/libco.c
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
$(CC) $(INCFLAGS) $(CFLAGS) $(OPTIMIZE) -c -o $@ $<
|
$(CC) $(INCFLAGS) $(CFLAGS) $(OPTIMIZE) -c -o $@ $<
|
||||||
|
|
||||||
|
%.o: %.cpp
|
||||||
|
$(CXX) $(INCFLAGS) $(CXXFLAGS) $(OPTIMIZE) -c -o $@ $<
|
||||||
|
|
||||||
clean-objs:
|
clean-objs:
|
||||||
rm -rf $(OBJECTS)
|
rm -rf $(OBJECTS)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue