Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
phantuanphong committed Nov 4, 2021
1 parent 432faaa commit d55dc2f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Makefile → powkiddy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

# Global definitions

CC = /opt/miyoo/bin/arm-linux-gcc
CC = /opt/miyoo/bin/arm-linux-gcc

OBJS = main.o cpu.o memory.o video.o input.o sound.o gui.o \
cheats.o zip.o arm_stub.o warm.o cpu_threaded.o video_blend.o sha1.o imageio.o
OBJS = main.o cpu.o memory.o video.o input.o sound.o gui.o \
cheats.o zip.o arm_stub.o warm.o cpu_threaded.o video_blend.o sha1.o imageio.o

BIN = gpsp
OUT = gpsp

# Platform specific definitions

Expand All @@ -26,16 +26,16 @@ LIBS = -lc -lgcc -lSDL -lpng -lasound -lz -Wl,--as-needed -Wl,--gc-section

# Compilation:

all: $(BIN)
all: $(OUT)

%.o: %.S
$(CC) $(CFLAGS) -c -o $@ $<



cpu.o cpu_threaded.o: CFLAGS += -Wno-unused-variable -Wno-unused-label

$(BIN): $(OBJS)
$(CC) $(OBJS) $(LIBS) -o $(BIN)
$(OUT): $(OBJS)
$(CC) $(OBJS) $(LIBS) -o $(OUT)


clean:
rm -f *.o $(BIN)
rm -f *.o $(OUT)

0 comments on commit d55dc2f

Please sign in to comment.